Monday, October 25, 2004

A Thing of Beauty is Joy Forever

I was forced to work on a small project, which combines voice and data over cell phone network. I was doing this for a trade show and the marketing department was the beneficiary. Things got spiced up when there was just a day left for the show. Marketing wanted me to make the user interface more jazzy and I was insisting on making the project more robust. Needless to say I gave in. I am sure many of my geeky friends would have faced something similar like this. So I ask myself which is better, beauty or performance?
When I code, I really want it to be aligned, readable and simple. I always think my code should make sense to the future generation (people who decompile) and it should be easily understandable to them. There have been innumerable occassions on which I have voted for readability rather than optimization. I guess it is the essence of adapting Java programming over C programming. Psycho Ram and Vivek used to write some weird C code which will make no sense to me. Even after refering many times to K&R, I would still be cranking hard to figure out the logic of the code in the Impact lab. Although it is cryptic, it will work. Work better than my beautifully aligned, easily readable Java code. So again I ask myself which is better, beauty or performance?
If I were (I guess I have used lot of 'I's in this blog) to buy a car, I would defintely want it to be good on gas and sturdy. At the same time, I want it to be attractive and aesthetic. It should have a V6 engine and it should have a spoiler for looks too. I guess I am a typical engineer who doesn't really know what exactly he wants. Do I need beauty or brains? I need both. Alas! this cannot happen in this world. Beauty and brains (you can substitute performance or anything similar to that) do not go hand-in-hand. They are like the demand and supply curve. Scientists and business people have fought endless war over this topic.
If one were to map this same logic to girls (why am I so obsessed with girls that I cannot write a single blog without mentioning something about them) it would hold true cent percent. A small weekend experiment: Go to Besant Nagar beach and sit on the platform on a Saturday or Sunday evening and talk to hmm... let's say 10 girls (ten is a good figure!). First rate their beauty on a scale of 1 to 10 and ask a really difficult question to them (let's say when did India get its indepence). Rate individual answers based on the closeness to the correct date. Now take a graph paper and plot your beauty rating against the answer rating. I bet you would see a nicely drawn demand-supply curve (it is unavoidable not to get reminded of the beauty and Bernard Shaw story).
For the last time, I ask myself which is better, beauty or performance? I don't know. I am sure you too wouldn't have got a good answer after reading this. As my friend Taranga rightly pointed out, I love to beat around the bush!

No comments: