My friend and colleague, the extravagantly gifted software engineer, globe-trotting bon vivant, and intrepid adventurer Yaniv Sarig, has sent me a outrageously funny item that will, I’m afraid, only evoke incapacitating hilarity in those of you who know a thing or two about programming.
But it’s too good not to share, so here it is. I hope some of you out there enjoy it.
2 Comments
Outrageously funny!? More like tragicomic. I finally gave up trying to customize programs because the programmers who created them wrote code like that.
I pine for the “old days” when programmers strove for elegance and efficiency. But with virtually limitless fast memory, why not use a hundred lines of code for something that can be done with three?
On my first real job out of grad school, one of my first assignments was to take over the maintenance of a very large FORTRAN code that had been written and modified by many people who no longer worked at the company.
When I began to peruse this beast, I noticed a declarative statement that made my heart skip a beat:
pi = 22./7.
I knew then that I was in very deep shit …