Saturday, March 15, 2014

The prowess of Python

Being introduced to the world of Python, I just can't think of any other language which would pack so many features in so few lines. It is like punching every algorithm implementation in their face in slow motion as you would see in any modern action movie. I have been told to try Go which might be the next promising language which promises a lot of the same features but has been written with multicore concurrent architectures in mind.

While I don't want to get into a programming language comparison here - I am too old to fall for that. However, I must admit that I have tried learning python so many times but could never appreciate it as I could do virtually everything in C++ and I took pride in its speed and nativeness to the architecture. Well then, I never had to care about cross platform code compilation. I did not code in Java for a long time. It was a desperate measure to pick up Python - it's your friend when you have to quickly write up working code which does something and you don't have to spend hours debugging and making sure you took care of those edge cases. Think of these dynamically typed languages as shell scripts on top of C++. With JIT implementations available for many of these, programming has become a pleasure you get while driving a luxury car (think corvette) on 101.

I was going to write the content of this blog about sharing some of the punches python delivers. However I saw this posted on yc today which puts the words I wished to write into a beautiful post - http://sahandsaba.com/thirty-python-language-features-and-tricks-you-may-not-know.html

Somehow - there is a lot of power in desperate measures. You adapt. If your fundamentals are right, it is just a matter of time and you learn the new tricks. The beauty is when you learn to know when to use what - that takes lots of time and mistakes.

Wise people have said, it takes 20 days to learn how to write C++ and 20 years to unlearn how not to write C++. With this fast evolution of toolkits, I don't think we have 20 years. So build on fast on others' mistakes and learning - that's the only way to accelerate.

Saturday, March 1, 2014

Route 66

On a lazy Saturday afternoon, I was watching a playlist comprising of songs composed by Lucky Ali and came across this one:

Well - we traveled much of the same route last year on our road trip to Grand Canyon and beyond. It is a real American treasure and cultural heritage. Seeing Santa Fe at the end brought a smile to my face as Sukhada lives an hour from it and we have been there as well.

The roads, motels, vast acres of barren land, deserts, mountains all make the route 66 so beautiful that it stays in your memory forever. Of course, you have to experience it yourself because the beauty lies in the journey not the destinations you would visit.

The good thing is the people have tried to preserve it and I would definitely wish to relive those 10 days of road trip with Sukhada if I can some day. I grew up watching this video and would always wonder what is so special about it. Well, now I know and so do everyone who have been on route 66.

SiteMeter