Mar 4, 2011

Why Python Rocks?! From A Newbie's Viewpoint

Python and QtImage via Wikipedia
Learning Python is the most pleasant experience I've ever had in learning a new programming language. Although I had some experience in both C&Java, I'm neither master of the 2 languages. However, I found that it was pretty easy for me to pick up Python. Here are some key characteristics:

(1)Coding performance: Basically, I don't really need to transform my thoughts into something overly abstract, which is often needed in Java and C. As a result, you can think/write the code at the same time, which boost your coding performance.

(2)Powerful and easy-to-use GUI: I personally love PyQt4 since I dabbled in Python after Python3.1 was already released, and PyQt4 is the only GUI library which fully supports Python3.X. Although this is definitely subjective, I really hate Gtk+ for its complexity(I had learned it for a short period of time).

(3)Ability to define function/class within function/class: I think this will leave an better overview to the programmer who reads or uses your source code since they don't need to go through every function(some of them are just helpers) you defined.

(4)Readability:This is probably the side effect of great coding performance. I found that even for a Python newbie like me, it's still very easy to understand some code which was written a long time ago.

There will be more...

No comments:

Post a Comment

Just leave a message :)