Function Pointers

I was writing something in python some days ago and I realised that python actually provides a neat way of handling function pointers. Or at least their version of it. Its called lambda. >>> a = lambda x : x**x >>> a(4) 256 >>> So that got me thinking! In how many languages could I …

Loud logs help no one!

As a software developer, we have to be both Michaelangelo and Sherlock Holmes every now and then. Michaelangelo in the sense that every now and then we get the opportunity to create something stunning, something beautiful virtually out of nothingness. Sherlock Holmes because more often than not, things go wrong and we have to go …

A delightful lunch.

Over the past few years, my┬áculinary┬átastes have swung from the food I have grown up with to the food I saw on television, to whatever I thought looked tasty. But as my tastes matured, I have realised what the phrase “Eyes bigger than one’s stomach” means. Over the years, especially after I came to Melbourne, …

When physically pairing is not possible in Agile!

I work in a young company. And by young, I mean the average age of my colleagues in Software Development is not more than 30 years. Before we went agile, our company had a policy of allowing people to work from home if needed. So all the young parents were greatly benefitted with this policy. …

Pahalgam [Circa August, 2009]

I just don’t see trees like this and rivers like this in Melbourne.

Unit tests!

In the morning, I had a very interesting discussion with a colleague of mine. He was writing a simple handler which passed an annotation to a calling class about which we knew nothing. All we knew that by passing the annotation, the class did stuff properly. For those fortunate enough to have dealt with objects …

Updating to Snow Leopard!!!

So today, I decided to update to Snow Leopard from Leopard. It took only 45 minutes using the real DVD. I am about to migrate from Microsoft Entourage to Apple Mail. All seems to be OK till I try to compile a LaTEX document. What the !!!???!!!! Where did my pdflatex binary go ?? I …

Companies should have exchange programs

I honestly believe that companies, whose sole ware is based on technical competence, should have an exchange program. Even as I write it in the darkness of the night, I can hear the howl of people attempting to preserve the in house knowledge against their competitors. I assure you, that is not what I meant. …

Testing in Java

Mocking units in Java