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

Re: Perl vs. Python: Looking at the Code

by mirod (Canon)
on Apr 03, 2002 at 16:56 UTC ( #156351=note: print w/replies, xml ) Need Help??


in reply to Perl vs. Python: Looking at the Code

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 ;--).

  • Comment on Re: Perl vs. Python: Looking at the Code

Replies are listed 'Best First'.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2019-02-16 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (95 votes). Check out past polls.

    Notices?