Sunday 9 November 2014

Life is short, you need python

Let us start with a dramatic background, it is always fun that way. When I was in college, they taught me how to code in C/C++. I was expected to solve the traveling salesman problem, the knapsack problem, Graph isomorphism problem etc. Like everyone else, I too was solving (copying the code from somewhere) all such problems although I had no motivation to do so.  The biggest problem probably was the nature of the problems I was banging my head against. They were simply not relevant for me then (of course these are meant to develop fundamental computer science problem solving skills, but no, I was in college and I had to be doing something cooler than that).

Maybe they should have started with something simple yet interesting. How about a piece of code that will get my friends’ birthday and contact information from social media? Or how cool would have been an assignment asking me to create a program that would download latest songs from the internet?  

Engineering students are stubborn by nature and hence they create things beating all odds and probabilities. They can’t be instructed to learn concepts and formulae. They rather have to be fooled in to creating something which they believe is cool and on their way of crafting that something, hope they’d learn.

Cooking food or doing laundry, there are essentially many correct ways of carrying out tasks human beings may have to do in their lives. For us engineers, it works in a little different way. (Warning, incoming strong opinion) There are some easy but inefficient ways of programming (which most of us including yours truly just loved to go for back in college), then there are tough but efficient ways (which are good but take a toll on the most critical resource we have in the corporate, time) and then there exist the pythonic ways (I believe if God is a programmer, he uses python). Life is too short to be coding in traditional programming languages anymore, you need python (Yes, I will get offended, find where you live and maybe tell your mom if you do not agree with me) :P

Picture Source - xkcd.com

Though this blog I intend to share the true love and whatever little experience I have with python. Keep watching this space for more!

No comments :

Post a Comment