python

I think I found my new favorite programming language: Python. After 10 years of Java, Python is quite refreshing.

Here are what I like and dislike about the language.

Like

  • typesafe without having to declare types
  • proper amount of verbosity i.e. if not valid instead of if !valid.
  • indentation forces a common coding standard
  • the fact that objects can be treated as maps (dict in python parlance)

Dislike:

  • the lack of a marker to end a block of code i.e. }, end, fi, etc.
  • lack of semi-colon (;) while it’s optional it looks stupid with other python code, but not using it makes it hard to switch between languages.
  • passing self to methods

All in all Python is kickass. Now perl SUCKS!

About these ads

4 responses to “python

  1. I still hate the fact that you can change the return values and you won’t know the pain until runtime.

    But yeah, beats the hell out of perl.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s