[fpc-devel] is not operator
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Sep 15 22:01:38 CEST 2026
On 9/15/26 20:41, Ondrej Pokorny via fpc-devel wrote:
> On 9/15/2026 7:02 PM, Stefan Glienke via fpc-devel wrote:
>> Personally, I would use a more neutral term than "slang", such as
>> "dialect" - which also matches what is typically understood when
>> talking about a programming language dialect.
>
> I would use {$modeswitch combinedoperators} for this - comparable to
> {$modeswitch advancedrecords}.
>
> I wouldn't use one big DelphiSlang/DelphiDialect for a summary of recent
> Delphi language extensions that are not really related.
The point of "is not" and "not in" is not that they are combined or save
some brackets, the point is they are English.
Similar with underscored numbers: They are just easier to read for humans.
Probably Embarcadero will add more of such readability extensions.
Maybe DelphiSyntacticSugar ?
Mattias
More information about the fpc-devel
mailing list