Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re(2): Why I choose Perl

by cjf-II (Monk)
on Dec 23, 2002 at 19:03 UTC ( [id://221926]=note: print w/replies, xml ) Need Help??


in reply to Re: Why I choose Perl
in thread Why I choose Perl

I simply don't know enough about Python to make a comparison. Any recommendations from anyone?

Learn Python :).

Update: since this post is geting downvoted into oblivion, I'll take that as a suggestion I should elaborate on my reasoning:

  • Learning other languages will improve the way you program in Perl. You'll find new ways to approach certain problems.
  • Knowing more languages increases your employability.
  • You'll be able to examine the code of apps you use that are written in Python. You can then assess their suitability for a particular task more efficiently.
  • You will better understand the differences between the languages and be able to contribute more to a debate on their respective benefits.

And the list goes on...

Replies are listed 'Best First'.
Re: Re(2): Why I choose Perl
by abell (Chaplain) on Dec 24, 2002 at 08:23 UTC

    I think your short answer deserved a ++ in itself.

    I have considered learning Python and Ruby for a while and intend to do it as soon as my projects let me relax a little (which may as well mean never). Learning something is generally good and Python has its merits. Once you know it, you might either decide that it's better than Perl at some tasks, or borrow idioms and techniques into your Perl programming practices. You might also decide it's not worth much effort and offer people detailed reasons why.

    I recently started programming in Java and even if some tasks are made infinitely tedious, the way the language is designed gave me a better insight on software design and programming techniques. Now my OO-design is a bit more careful and my Perl code a bit cleaner. And even if Perl remains my favourite language, for any new project I consider using Java and sometimes decide it's a better choice for the task at hand. Furthermore, during a talk I gave recently I could use it as a benchmark to show Perl's effectiveness at string and template handling ;-).

    Cheers

    Antonio

    The stupider the astronaut, the easier it is to win the trip to Vega - A. Tucket
      I've chewed through a Ruby book myself recently. I find it's a really nice lil language. I wouldn't mind at all if circumstances forced me to work in it. As it is though, seeing how its blackbox approach to "clean" OO frees one from the headaches Perl OO can induce only made me desire Perl 6 more. :) I plan on doing a bit of actual coding in Ruby just to get a better feel for the language as I do already like the looks of it, but chances are it won't manage to pry me away from Perl by a long shot, and if only because its community and code archive are so small for the time being, although none of this relates to my tendency to write long run-on sentences. %-)

      Makeshifts last the longest.

Re^3: Why I choose Perl
by herveus (Prior) on Dec 23, 2002 at 19:19 UTC
    Howdy!

    By a quirk of timing, this was revealed to me at the same time I posted my reply that appeared immediately above it. It took me a moment's careful looking to confirm that it wasn't aimed at me...however, the shoe fits :)

    Right now, my new employer (big sigh of relief over leaving the coprs of the unemployed) wants me to come up to speed on the tools they use, and Python isn't one of them, but Perl is. I've already caused the head tech in my group to suggest that we need to use Perl a lot more (vice Korn shell, mostly).

    I keep telling myself that it might be useful to take a real look at Python (or Java), but somehow it never makes it high enough on my priority list.

    I call it laziness...you might call it sloth. I might even not disagree.

    yours,
    Michael


    Update: I got it in one; I'm just explaining why that approach is not suited to my situation at this time. I took all your points to be implicit...
Re: Re(2): Why I choose Perl
by Fletch (Bishop) on Dec 23, 2002 at 19:48 UTC

    Hear, hear. I took the time to learn enough Python to be dangerous (I've actually used its xmlrpclib to implement a few useful things at work) and I can cite specific warts that put me off the language as a whole (other than the whitespace thing).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://221926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-11-14 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (39 votes). Check out past polls.