5 ms·
>What I did love about perl though — something I don't find in modern languages — is its carefree playfulness, which must have stemmed from the hacker culture a
by throwaddzuzxd 6y ago
>What I did love about perl though — something I don't find in modern languages — is its carefree playfulness, which must have stemmed from the hacker culture associated with it. I still chuckle every time I use Carp for debugging. Carp::croak, Carp::confess, or Carp::cluck are genius!
As someone who works with a legacy system written in Perl (we're slowly moving to Go), I absolutely hate this. It's completely obscure for no reason, and that's just not fun. I'm glad no language does this anymore.
Same goes for Perl critic levels: --brutal | --cruel | --harsh | --stern | --gentle, they're all compleyely useless at conveying any meaning! why is brutal > cruel??
- nikau 6y agoerg that's one thing I hate about modern tools, they love to use stupid terminology like helm with charts and salt with pillars and all this other childish shit.
- goatinaboat 6y agothey love to use stupid terminology like helm with charts and salt with pillars and all this other childish shit Chef is the worst for this
- bashinator 6y agoYeah, Helm and K8s are not great in that regard, but the overwrought metaphors do end pretty quickly in favor of naming things for what the actually are.
- pvaldes 6y agoI suppose that because you can be cruel with somebody without touching it physically. Being brutal involves cruelty + physical violence, thus is more than cruel.
- blacktriangle 6y agoThat same feeling of carefree playfulness is also the reason I keep meaning to give Raku a visit. They're pretty explicit about it even with pages like https://raku.org/fun/ https://raku.org/fun/ and https://raku.org/whatever/ https://raku.org/whatever/. It looks like they've done some interesting stuff around making text-based command line tools really easy to work with, which makes sense since that was a huge part of perl5's wheelhouse, so I think that may be a good place to start digging into Raku.
- daotoad 6y agoI have played with Raku a bit over the years, but haven't taken it up for any major projects. But I have found the experience incredibly useful. Using Raku is like working with advanced alien technology. My experience with it changed the way I write other code. I recommend playing with Raku for mind expansion.
- WesolyKubeczek 6y agoI concur. My English is pretty good, but to fully master these naming conventions, one needs to major in English. For Christ's sake, I keep forgetting what "croak" and "cluck" even are in, you know, normal language usage.
- throwaddzuzxd 6y agoSame, croak and cluck don't map with actual words or meaning in my mind. I just know croak is fatal and cluck is not. It's infuriating.
- WesolyKubeczek 6y agoThere are built-in "die" and "warn" that do (kinda) the same thing and which I tend to be using all the time.