Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 17 submissions in the queue.
posted by janrinok on Thursday September 19 2019, @03:09PM   Printer-friendly
from the perl-one-liners dept.

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.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Interesting) by legont on Friday September 20 2019, @01:22AM

    by legont (4179) on Friday September 20 2019, @01:22AM (#896334)

    From what I see the biggest problem with Perl is that it just works. I have mission critical half a million lines of code that was not maintained since developers were fired in 2008 crash and it still works. Nobody at the office realizes the miracle because the thing works and does not bother anybody with outages. The result? We lost Perl in-house expertise.

    Java shit was broken numerous times during this time and management had to invest in Java developers, hire them, train them, budget total rewrites multiple times. Hence, there are now thousands of java "experts" in the office and they have to be because otherwise it would simply die. Meantime only a few Perl ones remain and there is not enough man power to upgrade the code for the new environment by two orders of magnitude. They actually want me to rewrite mentioned 500,000 lines of code with help of two off-shores, while it was originally developed by a dozen of guys each one smarter than I.

    Kids, if you are reading it, make sure your product breaks often. Don't repeat our mistake. Never develop maintenance free one.

    --
    "Wealth is the relentless enemy of understanding" - John Kenneth Galbraith.
    Starting Score:    1  point
    Moderation   +3  
       Interesting=3, Total=3
    Extra 'Interesting' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   5