4 ms·
Pretty much every currently updated language does these days.
by jhayward 5y ago
Pretty much every currently updated language does these days.
- WalterBright 5y agoThis wasn't remotely true in 2000 when D was being created. AFAIK D was the first after Ada, and certainly popularized it as I made many presentations including it. C is still holding out :-)
- mst 5y agoPerl 5.000 was released in 1994 (see https://perl.bot/p/kw3gbl https://perl.bot/p/kw3gbl for a demonstration that had the syntax) Edit: That bot is far too easy to be curious with, and unless I got my testing wrong, perl 2 (from 1988) seems to have been where it was added: https://perl.bot/p/jzyi91 https://perl.bot/p/jzyi91 All assistance convincing the rest of the world they should also adopt the feature is very much welcome though :D
- WalterBright 5y agoThanks for the info! I stand corrected.
- mst 5y agoWhen I met Walter at an OSCON in 2008 we were both annoyed that more languages hadn't already stolen it. "Achieved what perl had managed in 1988 and D in 2000" is not honestly a point in favour of languages who worked it out somewhere in the past decade.
- jhayward 5y agoWhat an odd way of looking at it. It's not a contest. It's a diffusion of ideas that are helpful.
- mst 5y agoI agree that its helpful and you notice Ive been firmly on the side of everybody stealing it - which is why "pretty much every language has that" rather than "oh, cool, that's a really nice feature and it's interesting to learn where it diffused from" was such an oddly dismissive response to Walter and I enthusing about it.