My Weekend With Python

DZone 's Guide to

My Weekend With Python

A new python user's perspective, with simple pros and cons.

· Java Zone ·
Free Resource

This weekend was a long one for me. Unfortunately, I caught a cold and had to spend the whole weekend at home resting and waiting to feel better. While sitting and wondering what could I do (I wasn’t in the mood to work on anything), I decided to take a look at Python . It’s been a while since I wanted to try this language, but I never had a chance to take some time out of my busy schedule. Many people were telling me good things about it, how elegant it is and how easy it is to write code using it, but I needed to try it myself in order to have my own opinion. Although I could only spend 2-3 hours during the whole weekend trying it, I would like to express my first impression of this language.

What I Liked

  • There are plenty of learning resources. Although I could have started with a video tutorial, I chose to start with this tutorial by google, which seemed quite concise and straight to the point. It was showing all the important points without getting into too many details. Just what I needed.
  • Coming from a programming background, I found it extremely easy to start coding immediately in Python. The language syntax may seem odd at the beginning, but the learning curve is smooth. It’s easy to grasp the Python way of coding, although, it may take some time to remember to put the semicolon at the end of the line though.
  • The language seems elegant and rich in features. It has most of the features found in other languages such as Java, C#, and PHP.
  • The fact that you can write code in the command line was interesting to me
  • Working with lists and tuple structures was extremely easy and handy.

What I Did Not Like

  • The fact that there are no curly braces or semicolons at the end of the line might cause a little headache for those of us who come with a background of the C line of languages (C++, Java, C#, PHP, JavaScript, etc.). Omitting semicolons looked easier to me than maintaining the lining of the code to keep track of which code belongs to which block. After you get used to it, the block code starts to look more elegant and easy to read.
  • You can define variable names in the same way as built-ins, overriding system variables. I think this could be a big point of confusion for newcomers.


I admit, evaluating a programming language by spending three hours learning it is extremely hard and might lead to biased judgments. However, I write this review solely because of my positive impression with this language. I like learning new programming languages because almost all of them have good parts and practices from which we all might learn and benefit. Certainly, Python has its share of this, and in my opinion is worth a try. For me, my next step should be to find an opportunity to use it in a real life web application and see the experience.

What is your experience with Python? Share it with us.


Published at DZone with permission of Arian Celina , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}