4 ms·
Agreed. Also, Perl’s sweet spot is 1-500 lines of code. (Beyond that, not having types starts to hurt.) Also, for scripting stuff, my (readable, extensible)
by hedora 6y ago
Agreed. Also, Perl’s sweet spot is 1-500 lines of code. (Beyond that, not having types starts to hurt.)
Also, for scripting stuff, my (readable, extensible) perl is about 10% as long as other people’s python, so 500 lines of perl ends up being 5000 lines of python. That creates a huge difference in maintainability and correctness.
With code golf, my perl can be 10x shorter than that, but then it is neither readable nor extensible, and doesn’t scale to 500 (or even 50) lines before becoming more trouble than it’s worth.