aspose file tools*
The moose likes Jython/Python and the fly likes Why Python? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Why Python?" Watch "Why Python?" New topic
Author

Why Python?

Brian O'Shea
Ranch Hand

Joined: Aug 30, 2012
Posts: 37
If someone knows Perl why would you recommed that they should know Python too?
Is the book suitable for beginners to Python?
Allen Downey
Author
Greenhorn

Joined: Sep 07, 2012
Posts: 25

Hi Brian,

Think Python is definitely suitable for beginners, or at least that is my goal!

If you already know Perl, you can pick up Python quickly. There will be some things you will miss (for example, working with regular expressions in Python is clumsier), but I think you would find that your Python code is easier to read, debug and maintain. And if you write in an object-oriented style, I think you will be more comfortable in Python.

But I know people can be very attached to their favorite programming languages, so I'll add the disclaimer that this is my opinion only!

Allen

All of my books are available from http://greenteapress.com
Ashley Riot
Greenhorn

Joined: Nov 16, 2011
Posts: 21
Python is definitely one of the languages having the best design. Anyone can get used to it quickly and you end up writing code as quickly as you type. It just comes so naturally.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8705
    
    6

Specifically comparing Python to Perl:

While offering choice in coding methodology, the Python philosophy rejects exuberant syntax, such as in Perl, in favor of a sparser, less-cluttered grammar. Python's developers expressly promote a particular "culture" or ideology based on what they want the language to be, favoring language forms they see as "beautiful", "explicit" and "simple". As Alex Martelli put it in his Python Cookbook (2nd ed., p. 230): "To describe something as clever is NOT considered a compliment in the Python culture." Python's philosophy rejects the Perl "there is more than one way to do it" approach to language design in favor of "there should be one—and preferably only one—obvious way to do it".[30]


Wiki


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
Don't get me started about those stupid light bulbs.
 
subject: Why Python?
 
Similar Threads
Python?? Huh?
What about perl?
Which New Programming Language To Learn
WA #1.....word association
which is best platform form for Cloud devlopement ?