Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alabamenhu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
alabamenhu
7y ago
90% of Perl's line noise comes from using short cute variable names and trying to cram way too much into way too compressed regexes. There's nothing inherent about Perl that causes people to use $z instead of $somethingDescriptive
2.
▲
by
alabamenhu
7y ago
I think so. I regularly use JS and Java in daily life and used to use a whole host other languages in the past. Perl 6 is actually a joy to code in, as weird as that sounds. It's fairly straightforward to begin using, but the deeper
3.
▲
by
alabamenhu
7y ago
The idea that there's only one way implies that code context means nothing. For example, if you have a simple function that kicks backed cached values: sub foo ($bar) { if %cache{$bar}.defined { return %cache{$bar} }
4.
▲
by
alabamenhu
7y ago
That's a problem with the people who wrote the script, though, not the language itself. Consider the difference between a minified JS script or one produced with emscripten and the code pre-minification. One is unintelligible guarante