When I want something to keep working ... I write it in Perl.
Legible¹, modern, simple ... Perl.
Every other language is a never-ending hellscape of "stop thinking about the problem because you're making me think about the tool instead".
I do not have time to constantly refresh my mental-model cache of ten layers of your platform's installation abstractions.
I do not have time to perpetually chase a sliding window of backwards incompatibility, nested dependencies, inscrutable errors, curl|sudo bash
-isms, and dead-end / WONTFIX help threads.
I do not have time to PR your GitHub README to supply the seven implied assumptions missing from your "quick start".
I have work to do.
#Perl
¹Yes, you can do that. Damian Conway's "Perl Best Practices" is definitive.
oreilly.com/library/view/perl-…
Perl Best Practices
Many programmers code by instinct, relying on convenient habits or a "style" they picked up early on. They aren't conscious of all the choices they make, like how they format … - Selection from Perl Best Practices [Book]O’Reilly Online Learning
Johnny Demonic
in reply to Royce Williams • • •I love Perl. 💜 It's the language I know best, at the moment, because I have been using it since 1995, as a career Perl programmer.
However, I rather like Ruby, because it's very Perlish, has first class PCRE, and is concise and clean, and DWIM. Most importantly, it has a cleaner OOP syntax, with a "class" keyword built-in, unlike Perl, whose OOP is a bolted-on afterthought, bless her dirty soul.
Python is okay, but it's built-in support for List Comprehension is super awesome! List Comprehensions make code even more elegant and pithy than Perl, by natively providing a construct that is roll-your-own in Perl, like OO.
Also, Python's NumPy and SciPy libraries gave it an early lead in the field of Machine Learning, a place that should rightfully have belonged to Perl, notorious for how easily it can slice, dice and munge text.
#perl #ruby #python #programming #programminglanguages #machinelearning
Arne 🌻🌈
in reply to Johnny Demonic • • •@ashwin Since you mention OOP, you might be interested to know that there is work in progress to add real OOP to Perl. It’ll take a few more years, but it’s promising so far.
github.com/Perl-Apollo/Corinna…
Corinna/README.md at master · Perl-Apollo/Corinna
GitHubJohnny Demonic
in reply to Arne 🌻🌈 • • •@ajnn
My two wish list items for Perl are:
1. OOP : As natural and seamless as Ruby. Built-in "class" keyword and other OO features.
2. List Comprehensions : Just steal shamelessly from Python. This one should be relatively easy to implement.
#Perl #ProgrammingLanguages
Gene Boggs
in reply to Johnny Demonic • • •@ashwin @ajnn 1. perl.com/article/what-is-new-i…
2. Isn't `map' sufficient?
What's New in Perl v5.40?
Perl.comJohnny Demonic
in reply to Gene Boggs • • •@ology @ajnn
1. Cool! Perl now has a class keyword!
2. Nope. Try programming in both, Perl and Python, and you will find that, thanks to list comprehension, the Python code is much clearer and more concise.
Gene Boggs
in reply to Johnny Demonic • • •Paul Evans
in reply to Johnny Demonic • • •@ashwin @ajnn A class keyword
perldoc.perl.org/perlclass
perlclass - Perl class syntax reference - Perldoc Browser
perldoc.perl.org