Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

OK, so I don't know much about Python, and I --'ed you.

Why?

Because after reading your post I don't know anything more about Python than before reading it, except that some of its zealots (that would be you) are even more biased and short-sighted than Perl's.

Most of your arguments are purely a matter of personal preference, nothing objective there, but I really liked the fact that you prefer Python because it lets you type way less characters than Perl. Kewl! So what's with constructs like string.replace, fo.readline() or sys.stdout.write? Shorter than Perl's tr, <> or print? I did not think so either.

People like Perl or Python (or Ruby or Lisp or Smalltalk or whatever) based on how well the language suits them, rarely for "objective" reasons. I like the fact that Perl is complex for example, it keeps me interested, while C bores the hell out of me. If you prefer a simpler language, then by all means, stick with Python. I don't have a problem with it. I would even be happy if you could just go and post on PythonNunns or whatever the Python community site might be called.

Just please don't troll here, thank you.

Update: point taken, as noticed by mothra below, there is indeed a print statement in Python (how not object oriented BTW ;--). My bad. I guess my post makes no sense and I should give up Perl and find The True Snake Way then ;--).


In reply to Re: Perl vs. Python: Looking at the Code by mirod
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, 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, 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.
  • 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 goofing around in the Monastery: (5)
    As of 2024-09-10 11:45 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.