...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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.