[fpc-devel] is not operator

Sven Barth pascaldragon at googlemail.com
Fri Sep 11 23:24:20 CEST 2026


Marco van de Voort via fpc-devel <fpc-devel at lists.freepascal.org> schrieb
am Fr., 11. Sep. 2026, 17:43:

>
> Op 11-9-2026 om 16:31 schreef Mattias Gaertner via fpc-devel:
> >  Although I am often unhappy with Embarcaderos syntax choices, the "is
> > not" I like. It looks Pascal, does not bite existing code, is easier
> > to read, and is easy to implement.
>
> But two things to do the same things is nearly always worse.  For that
> to be worthwhile the advantage must be massive, but that is not really
> the case. It is superficial syntax at best.
>

Yes. A language should be as orthogonal as possible to avoid confusing
users with multiple ways to achieve the same goal.

Thus in my opinion this should be restricted to mode Delphi or at least a
modeswitch (same with "not in").

Probably it is one of the voted in language extensions.
>

And as always it shows that such users always want useless stuff... 🙄

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20260911/8d42512d/attachment.htm>


More information about the fpc-devel mailing list