|laziness, impatience, and hubris|
Re: Perl Contempt in My Workplaceby eyepopslikeamosquito (Bishop)
|on Apr 27, 2021 at 06:14 UTC||Need Help??|
What's the best way to get thicker skin about Perl's unpopularity?Apparently, it takes practice and training. :) Well, I recently stumbled upon a popular Ted talk, How not to take things personally by Frederik Imbo, in which Frederik claims he became a soccer referee for the express purpose of getting plenty of practice at being abused ... and to train his brain not to take it personally!
I also have a curious experience in the workplace I'd like to share. Around the time I wrote Unix shell versus Perl (2008), I successfully argued:
Notice that the above is arguing against Unix shell scripts, not specifically for Perl. Indeed, the same essential arguments apply equally to Python and Ruby as they do to Perl. However, I view Perl, Python and Ruby as essentially equivalent and, given our existing significant investment in Perl, don't see a strong business case for switching languages.I had no trouble back then persuading folks to abandon their beloved Unix shell scripts and Windows .BAT files for Perl.
A few years later, I could feel the tide turning against Perl, especially from new hires. One fellow in particular was especially vocal about how much he loved Python and hated Perl. Going with the flow - admittedly partly because I'd learned Python by then and quite liked it - I kept him (and others) at bay by adjusting our coding standards to allow Python in addition to Perl. (To avoid total anarchy, Ruby and PHP were not permitted).
Curiously, after praising Python so loudly for so long, our Python lover never managed to write a single production Python script at work! Why? It turns out, though he "loved" Python, this seemed to be a "theoretical" love, for he was sorely lacking in real Python experience and skills. At least, I was shocked during code reviews because, after using Python in just a few golf games, I was pointing out embarrassing blunders in his Python code. No doubt my many years of Perl experience helped. You see, we were both hired primarily as C++ (not Perl/Python) developers, at least we wrote only C++ at our job interviews. Curiously, he seemed to lose interest in Python shortly after those early code reviews and stuck to C++ after that.
Update: it turns out he hated Perl based on appearances and hearsay because he'd never actually written a Perl program! (Stroustrup noticed similar bigotry towards C++ "twice as many people claimed to hate C++ as had ever written even a single small C++ program").