The Artima Developer Community
Sponsored Link

Python Buzz Forum
Perlish Wisdom

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Thomas Guest

Posts: 236
Nickname: tag
Registered: Nov, 2004

Thomas Guest likes dynamic languages.
Perlish Wisdom Posted: May 10, 2007 1:52 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Thomas Guest.
Original Post: Perlish Wisdom
Feed Title: Word Aligned: Category Python
Feed URL: http://feeds.feedburner.com/WordAlignedCategoryPython
Feed Description: Dynamic languages in general. Python in particular. The adventures of a space sensitive programmer.
Latest Python Buzz Posts
Latest Python Buzz Posts by Thomas Guest
Latest Posts From Word Aligned: Category Python

Advertisement

Here’s an interesting article in which Curtis Poe explains why there’s a shortage of Perl programmers on the market at the moment. I’m not qualified to comment on whether the shortage exists or his analysis of it is correct, but I certainly wouldn’t fancy maintaining Perl code. The Perl mantra, “There’s more than one way to do it”, appears to be liberating but all too often results in unnecessary inconsistency. I prefer Python’s “There should be one – and preferably only one – obvious way to do it”.

That said, I do have a soft spot for Perl. It was the first very high-level language I fell for. This was at a time when I routinely worked on different flavours of Unix and Windows machines; and I routinely had problems with the different environments. There wasn’t even a command shell which worked well across the board. Perl effectively gave me a platform independent way of writing scripts to perform simple file, text and job processing.

I say “scripts” rather than “programs” because I never wrote anything more than a few dozen lines long. I never had to go through the tiresome business of compiling, sorting out dependencies, locating include- and library- paths, declaring object types – tasks which I’d always associated with real programming.

Scripting was more direct, more fun.

A few dozen lines of Perl easily accomplishes as much as a few hundred lines of C. In fact, one line of Perl can get a surprising amount done. Surely the performance of an interpreted language would be a problem? Maybe it can be, but time after time, I was impressed just how quickly Perl allowed me to chew through data.

I had to admire the way the language grabbed all the characters on the keyboard and squeezed the juice out of them. It even allowed variables to dissolve away into defaults which you could then omit and which, as if by magic, did just what you wanted: $variable, $_, .

Ultimately, though, there were things I never quite got and probably never will get. I never managed to build complex structures without referring to the manual. Oh, and I never really got to grips with the Perl documentation system. I never found an editor mode I was completely happy with – or perhaps the overloaded syntax just started to grate. Finger saving tricks turned out to be expensive in the long run.

Adopting Perl changed me, though. I prefer powerful languages with comprehensive libraries. Wrestling with build systems seems too much pain for too little gain. And explicit type declarations make software frigid.

Read: Perlish Wisdom

Topic: Lets see how long this lasts Previous Topic   Next Topic Topic: On Python's make/rake (one again)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use