Sven Barth wrote:
Am 01.02.2016 09:26 schrieb "Maciej Izak" <hnb.c...@gmail.com
<mailto:hnb.c...@gmail.com>>:
>
> 2016-02-01 8:59 GMT+01:00 Marco van de Voort <mar...@stack.nl
<mailto:mar...@stack.nl>>:
>>
>> The only really bad thing is the name, as Florian already said, with the
>> versions in strutils and math. The clash with delphi compatible
functions
>> should be avoided.
>
>
> +1 . IfThen instricit is IMO very bad idea. I have a lot of "IfThen"
from math and strutils modules.
>
> IfThen from System totally breaks the compatibility :\ . C'mon
Sven. In one field you're rigorously but in something like this you're
liberal (braking/dangerous change / for existing code base).
It does *not* break existing code at all.
It will break future code. What if I need math someday and add this to
the uses clause ? Which one will be called ?
I have to admit though that I forgot about the potential problems due to
refactoring. I'll change the name to avoid this pitfall, though I've yet
to decide which one.
OK,
Marc
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal