March 18, 2014 Leave a comment
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.