Hi,
On Sat, 23 Aug 2025, Sven Barth via fpc-devel wrote:
>> You were almost 10 years ahead :)
>>
>> https://blogs.embarcadero.com/coming-in-rad-studio-13-a-conditional-ternary-operator-for-the-delphi-language/
>
> Oxygene already had it for longer which is where I had the idea from 😅
The new syntax has strong Python vibes to me. This is where I saw/used
this the most. Which is not necessarily a bad thing. My code is usually
very oldschool and I tend to avoid most of the "modern" bells & whistles,
as I have a firm belief they hinder long-term maintainability, or they're
simply eye-sore (mainly that Delphi inline variable declaration comes to
mind) but this is one of the "newschool" syntax things which I'd gladly
use myself.
Charlie
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel