[fpc-devel] Questions on TStringList.Find change (Mantis 28744)
David Jenkins
david at scootersoftware.com
Mon Mar 21 21:34:06 CET 2016
On 3/21/16 2:55 PM, Michael Van Canneyt wrote:
> We can introduce a property which disables the check, if you want.
>
> Michael.
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
However.......... now that I've thought about it some more. That
change would be nice and all for us but doesn't it just muddle the
picture even more for anyone else using the code?
I'm feeling tempted to argue against my side a little. If the change is
correct i.e. makes for better code or behavior then it should stay and
we'll go ahead and take it out in our local files if we don't like it
(we'll grumble at having to maintain a local patch be we already have a
few of those).
My thought is that it doesn't make for better code or behavior while at
the same time breaking Delphi compatibility. Delphi compatibility isn't
the golden standard but it seems any breakage should be for a good reason.
David
More information about the fpc-devel
mailing list