4 ms·
I still find perl to be pretty sweet for handling old data formats. Need to extract something out of an old foxpro DBF file? Perl has some great tools for that.
by jamal-kumar 5y ago
I still find perl to be pretty sweet for handling old data formats. Need to extract something out of an old foxpro DBF file? Perl has some great tools for that. Have a collection of excel files with the formats ~MIXED TOGETHER~ between xlsx and xls, and don't want to deal with using two seperate libraries in python or whatever? Perl is pretty sweet for that, handles both formats transparently -- I think they even have it as the example on their front page.
I had asked to write something in python at one job and my boss was like no, the call stack gets way too big and it uses too much memory, and you're installing an interpreter which may introduce security problems. Write it in Perl, it's included in the OS. I really wonder how correct he was on that performance stuff but it wasn't an unpleasant experience given my skill level in that language at the time. I think perl's major weak point is that it's kind of hard to read if you don't know it.
- noisy_boy 5y agoHaving written lots of Perl and Python, Perl just _felt_ fast (I don't have benchmarks to back this up). Also agree on the included in OS point (when I started coding in Perl, it came pre-installed on Sun Solaris; I do remember seeing some old version of Python too but by then we already had written a bunch of Perl).
- hedora 5y agoGlobal variables in python are (used to be?) about 10x slower than variables in a scope. I gave up on python for other reasons (breaking changes every few months) before someone pointed that out to me. Anyway, for me, that was why Python “felt” slower than Perl.