[fpc-devel] is not operator
Sven Barth
pascaldragon at googlemail.com
Tue Sep 15 22:19:32 CEST 2026
Am 15.09.2026 um 22:01 schrieb Mattias Gaertner via fpc-devel:
>
>
> 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 ?
I don't agree that underscored numerals (which already exist in FPC btw
as modeswitch UnderscoreIsSeparator) and these reordering of operators
can be considered equally impactful. These operator reorderings should
be kept separate from potential other changes so mode switches like
"DelphiSyntacticSugar" or "DelphiSlang" are not a good idea.
"ReorderedOperators" would be more precise.
Regards,
Sven
More information about the fpc-devel
mailing list