Wednesday, 9 January 2013

Programming with LOVE

I guess I've been programming for about 5 years now (seriously for 3), and this is something I just realized, writing code for the NAO robot. The fact that it's cute as hell probably helped here.

Programming is a form of communication with a life-form that doesn't know what you know (yet). And just like humans, animals and plants, it's easier to get what you want if you are sincere and love that life-form. Now, one may be a great programmer but sucks at the process of programming itself, or vice versa. If one sucks at the programming process, then that's just like a lover who sucks at kissing or flirting (aka HOW to love). On the other hand, the one who is great at all the tools and processes of programming may feel lost at writing complex code despite all the knowledge. This one is the lover who is a great kisser and seducer, yet can never maintain a relationship for long.

The same goes for code. Some people are great at coding, but can never maintain it - for them, it remains as just a tool. Others are always learning, but it's the love of the whole program that drives them.

Programming can teach you to love without expectations. Expectations cloud one's thinking and judgement, preventing you from seeing what the code really does. If you can love your code, it's more likely to work well.

--to be continued--

No comments: