Hacker News new | ask | show | jobs
by HeckFeck 1378 days ago
It's not objective, but I find I have more fun in Perl than any other language. The initial jump was steep, but it helped that I already knew some shell. Now I think in references, I can guess what $_ is going to be, I slap in a big, my $val = s/<RE_HERE>/other_thing wherever I want, I could go on!

I think $_ belongs to a different era, before levelling everything to the lowest common denominator became seen as a good thing. I found the limitations of its rivals less than compelling, and besides JavaScript is arguably more complex than Perl these days.

2 comments

A few years ago I pulled out Higher Order Perl and started playing with some of the advanced features/techniques available in the language. And it was really fun! I think Perl was the first popular multi-paradigm language.
ugh $_

I successfully hide away all my bad perl memories and now it’s coming all back

Funny thing is: $_ is a valid Java variable name.
And a JavaScript library! http://underscorejs.org/
So is ボーン苹果чай.