Investing in the Python Language

python-logoOver the years, I’ve had to learn many programming languages in the course of my career; Perl, JavaScript, shell, Java, C#, Objective C to name the most prominent. Several years ago, I wrote a little Python for a small project and I hated the language for some of the syntactical eccentricities that makes it unique from other languages out there. Lately, I had to pick up Python again, just to be pleasantly surprised that I can actually enjoy it now.

I am notorious about code formatting, in fact, it is the worst thing about having to read my code if you are another developer with a little OCD about formatting, indention and spacing. The python language doesn’t have the brace constructs most other languages use to delineate blocks flow blocks in code, it uses indention. For example, ┬áif you want a series of operations to occur following the execution of an if block, you would merely nest them the same indention level under the if itself. This is a fundamental concept in Python but I have found that it actually has helped my formatting as I write other languages and I no longer torture other developers as they read through my code.

Python is pretty versatile. It allows for access to a very robust API without a lot of overhead and a very shallow learning curve. I would argue that it is the easiest of all the languages I write on a normal basis by far. I recommend Python for any novice programmer. I wouldn’t write enterprise level applications with Python, but I would use it as a support language no matter what platform I am running on. short scripting tasks of tasks or routine maintenance tasks that are a too complicated for more rudimentary scripting languages are where Python rules. In fact Python is an integral part of every linux distribution.

Overall, spending a little time in Python isn’t a waste of time at all and I highly recommend it.

Follow

Get every new post delivered to your Inbox.