[fpc-devel] Dangerous optimization in CASE..OF

Sven Barth pascaldragon at googlemail.com
Sat Apr 21 17:03:07 CEST 2018


Alexander Grotewohl <alex at dcclost.com> schrieb am Sa., 21. Apr. 2018, 16:40:

> To be honest I agree with what he's saying. We're bending enums to do
> things normal people just wouldn't (and shouldn't) do.
>
> And seriously, "Delphi, Delphi, Delphi!" .. why don't we strive for
> something a little better and make the people porting from Delphi bend a
> little this way than us their way.
>

Because Delphi mode is about Delphi compatibility and even if a new feature
is added that Delphi does not support (like global generic routines) then
it should work on a way that would be compatible with Delphi (at least if
the devs there don't smoke the newest weed of the day).

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180421/f2d696dc/attachment.html>


More information about the fpc-devel mailing list