3
u/frezik Jul 31 '21
This and the /x modifier on regexes are features that other languages don't know they need.
5
u/daxim πͺ cpan author Jul 31 '21
Hypocrisy much? It's okay when Perl adopts a feature from Ada, but when ES does it, it's not?
4
u/Tyler_Zoro Jul 31 '21
I think it's one of the best quality of life ideas in programming, and always have... who are you addressing?
4
u/daxim πͺ cpan author Jul 31 '21
the submitter
7
u/Tyler_Zoro Jul 31 '21
Did I miss something? All I see is "Cool new Javascript feature" ... did they say something elsewhere to indicate that they thought it was not "okay"?
It is a cool new JavaScript (well, ES2021) feature and it is an old Perl feature and it was an even older Ada feature... There's nothing wrong with any of that.
0
Jul 31 '21
[deleted]
1
u/Tyler_Zoro Jul 31 '21
I mean, it's obviously an ironic headline, but the earlier commenter was assuming a level of cynical sarcasm on the part of /u/Negative12DollarBill (and even chastising them for it) that I just don't see as being warranted. It's like someone walking up to you on the street, seeing you wearing bell-bottoms and you say, "fun new fashion!" You can respond as if they're insulting you or as if they're pointing out that it's retro with irony. The former seems to be the less generous interpretation.
I would have posted the exact same thing, and I can tell you with certainty that if I had, it would not be intended as any slight against ES/JavaScript but as a nod to the fact that Perl was well ahead of its time.
1
0
0
0
u/zerohourrct Aug 01 '21
There's a reason computer's and calculators are base 2*5. And why we resolve it as one million.
6
u/nrdvana Jul 31 '21
Sometimes I wonder if the focus of perl5 people should be packing the ecmascript steering committee and just gradually introduce all of perl5βs features into the standards track for ecmascript. Then someone with too much free time can write a translator from XS to WebAssembly, and we live happily ever after.