[fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances
Florian Klämpfl
florian at freepascal.org
Sat Jul 30 23:07:32 CEST 2011
Am 30.07.2011 22:54, schrieb Flávio Etrusco:
>>>
>>> Repeating myself, if there isn't something like CodeTools (i.e. only
>>> with text search) is way more difficult to search for operator
>>> declarations.
>>
>> Why? Searching for operator+ is no more difficult than for function add ?
>>
>
> Blanks and linebreaks... Of course if one always use the same editor,
> that supports searching for linebreaks, and often use Regex in it,
> maybe they'll remember whether its Regex flavor uses \b or \s or \w
> for blanks :-/ Of course this is not major, just annoying, since
> you'll rarely need it.
But the same applies to functions as well?
nobody provents you to code like
function
add(...) : ...;
?
Searching for add might not be feasible because the symbol could be used
a lot (I know about this because I'am a heavy "jump to symbol by
grep"-user :)
> But maybe if FPC forced the symbol to follow the keyword immediately... ;-)
More information about the fpc-pascal
mailing list