Python

I’ve started learning Python, which I’ve wanted to do for a long time. One thing that always bothered me about it is that whitespace is significant. Unlike most languages where blocks are delimited by begin..end or {…}, in Python a block is delimited by all statements being indented the same amount. Am I the only one bothered by that?

1 thought on “Python”

  1. A lot of people are put off by that at first. For a while, I felt rather scornful towards Python for that reason. It made it seem like a toy. Then, one day, I decided to try it, just to experiment. To my surprise, the syntax style was very easy to get used to; it feels perfectly natural after you get used to it. After all, for the most part, when programming in {…}-style languages, it's good technique to use consistent indentation for blocks anyway, and most of us are used to doing so. Combined with Python's other benefits (such as its extensive included libraries, and its pure-object-orientedness), Python quickly became my favourite language.

    Give Python a chance. You may be surprised.

Comments are closed.