Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
...all I've ended up with is general "cuz I like it better" comments made by people who know almost nothing about Python.

Well I refrained from detailed comment because you specifically said that you weren't interested in hearing from people who didn't know Python well. But it sounds like people who don't know Python well are about all we've got around here :)

I've thought a few times that I really should make the effort to learn Python. I've bought the Learning Python book. I've sat down with it both in a comfortable chair and in front of a computer. I've learned many programming languages in my time. It doesn't take me long to pick up the differences in syntax.

But learning Perl was different. When I learned Perl there was something about it that really made sense to me. It fitted my thought patterns far better than any other language I'd learned before. For ages after discovering Perl I didn't bother to learn an new languages because I could do what I wanted in Perl far faster than I could do it in any other language.

In the last year I've tried to look at both Python and Java. Neither of them made the same impression that Perl did. They both seemed far too restrictive about how you did things. You seem to think that's a good thing in Python. I far prefer being able to do things in a number of different ways and being able to choose the best one for any particular job. I don't think that's a problem for any decent maintenance programmer.

So, OK, you've shown that in a few cases you type less characters in Python. So what? Like others have said, the sigils mean something in Perl. Looks to me like you'd have to go searching for that kind of information in a Python program.

I'll probably go back to learning Python and Java soon. I'll probably be able to get pretty good at them. But from what I've seen so far, I really can't see them replacing Perl as the language that I feel most comfortable with.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg


In reply to Re: Re: Re: Perl vs. Python: Looking at the Code by davorg
in thread Perl vs. Python: Looking at the Code by mothra

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2024-04-18 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found