Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am Mi., 16. Dez. 2020, 19:41:
> > > > On Dec 16, 2020, at 10:50 AM, Sven Barth <pascaldra...@googlemail.com> > wrote: > > > > This can simply be done using existing language constructs, no need to > introduce anything new. > > > > That's what I thought you'd say. ;) It's basically syntactic sugar > surrounding a generic record, so yes technically it is. It's just something > I use so often I figure it warrants being included in the language itself. > I use them in Swift, JavaScript, Python and PHP. It's very handy syntax and > proven itself in the industry by 2020. > No, something being used often is not sufficient cause for a language extension. A cause for a language extension is something that is not easily achieved using existing mechanisms, essentially pure syntactic sugar does not count as such. Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal