Back in May, writer Jun Wu told in her blog how Perl excels at text manipulation. She often uses it to tidy data sets, a necessity as data is often collected with variations and cleaning it up before use is a necessity. She goes through many one-liners which help make that easy.
Having old reliables is my key to success. Ever since I learned Perl during the dot com bubble, I knew that I was forever beholden to its powers to transform.
You heard me. Freedom is the word here with Perl.
When I'm coding freely at home on my fun data science project, I rely on it to clean up my data.
In the real world, data is often collected with loads of variations. Unless you are using someone's "clean" dataset, you better learn to clean that data real fast.
(Score: 1, Interesting) by Anonymous Coward on Friday September 20 2019, @03:20PM
I've used Perl Python Ruby and Java, and Python. Python looks clean. But the top down constraints built into it make it bloody murder to refactor. If you code yourself into a corner in Python you have to refactor from the top down. If you code yourself into a corner in Perl, you can can cut the other end off the toothpaste tube. It isn't pretty and you shouldn't do it that way, but you can in a pinch.
In Perl you can pay now or pay later. In Python you pay up front and hope to god you didn't make any mistakes in the initial design. Because it does not tolerate design mistakes. This means that you have to have somebody who really understands software design well to make Python scale. And if they understood it that well, chances are they wouldn't have picked Python.