3 ms·
> Underscores embedded in integer literals. Perl had this years before D even existed [1]. Given its earlier age and higher reach, it's likely that Perl did mo
by sundarurfriend 2y ago
> Underscores embedded in integer literals.
Perl had this years before D even existed [1]. Given its earlier age and higher reach, it's likely that Perl did more to popularize the idea as well.
> Continue or break to labeled loop.
Also a feature that Perl had years before D's existence [2].
These two are the ones I immediately recognized because of my familiarity with Perl, but given the trend, I'm doubtful of the other claims as well now.
[1] https://perldoc.perl.org/5.005/perldata https://perldoc.perl.org/5.005/perldata
[2] https://perldoc.perl.org/5.005/perlsyn#Loop-Control https://perldoc.perl.org/5.005/perlsyn#Loop-Control
- WalterBright 2y agoI did not know Metaware and Perl did this, as I've never used either. I know that my inspiration for it came from Ada. I accept that Metaware and Perl did this before D. But I still claim that adoption of it in other languages came shortly after I popularized it in D, as I included it in many presentations about it.