4 ms·
libera #perl often comments that part of the zen of perl and actually being good at it is knowing when to use something else. Sometimes people get offended whe
by mst 2y ago
libera #perl often comments that part of the zen of perl and actually being good at it is knowing when to use something else.
Sometimes people get offended when we give them a fully working awk/sed one-liner that does the job better but, uh, that's what we would have used ourselves!
(or "that's seriously computation heavy, use C/Rust/Julia/etc. because much though we love the perl5 VM for quick scripts and large-scale OO business logic apps this is not going to work nicely and trying to force perl to do it will be a rathole")
Though I do sort of miss my 'green threads via call/cc in guile sitting atop an ancient but functional perl event loop' system, it was ~20 years ago now and I'm not suggesting anybody else would ever want to use it, but in some ways it was still nicer than modern async/await style event loop driving nonetheless.
(yes, I'm an outlier and should not be counted)
- dgfitz 2y agoWe may be in violent agreement. Handing someone a awk line instead of a lisp binary is exactly what I meant.
- mst 2y agoYep, that was very much meant to be a "yes, and" reply. There's quite the overlap between perlers and lispers because of (among other things) the shared love of 'building the language up towards the problem.' People have been known to describe bits of my perl code as easiest read by treating it as lisp that incidentally uses a really weird sort of M-expressions and runs on the perl5 VM ;)