in reply to Perl Contempt in My Workplace
I like Perl syntax. Coding/using in perl is enjoyable experience, whereas on other languages there are many places which are not as good as in Perl.
~10 years ago Perl ecosystem was huge - you could find almost everything on CPAN - it was clear for me that Perl solution is always the best (well, almost :) )
However - now I pretty much understand and even support a point of perl refusals.
There are too much missing things in Perl right now:
-
CPAN no longer covers all modern techniques:
- WebASM - there was some discussion on p5p about a year ago but this went nowhere.
- "neural network" and other data science - there are some old modules but ecosystem is almost empty, at least compared to other languages
- etc.etc.etc...
-
Core language:
- simple file reads which are present in Python/NodeJS but "cumbersome" in Perl.
I want functionality of IO::All but available everywhere even without CPAN access. IO::All is too heavy - Sets and simple things like 'x' in ('a' .. 'z'); I can write exists {map{$_=>1}'a' .. 'z'}->{x} but this is too much. Core language does not have this as simple as I want it
- simple file reads which are present in Python/NodeJS but "cumbersome" in Perl.
starting from about ~10 years ago things have globally changed.
Now some personal recent experience.
Recently I tried to use JQuery/Datatables and even found several CPAN modules for it, tried to use these and failed.
After I've failed in perl, I succeeded with NodeJS on that, I got what I needed. I had confirmation on my table that other language's ecosystem is more current.
Perl is no longer of that 20 years ago.
Sorry, guys.
I am still missing 'use strict' in Python, and 'use strict' of NodeJS is not as complete as Perl's one. And also missing brevity of regexps,
....but also I understood that brevity of regexps is compensated by additional code which is needed for instant file reads and other missing core features.