Geek Poetry: Converting Old Code...

Author: Kasper B. Graversen, 27/01/09
Keywords: Fun, GeekPoetry
Abstract: Geek Poetry: "Converting Old Code" poem.
subscribe to my RSS feed


Bookmark and Share


Geek Poetry: Converting Old Code...

Have you ever look at old code? I thought back on some of the conversions of old code to new code, and I couldn't help but jot down the following.
Converting Old Code 
===================
Like dead wood under the desert sun becomes wrinkled and gnarled,
So will old code from decades past.
Algorithms from a different time.
Tuned for perfection on hardware architectures long surpassed in today's washing machines.

Converting must be approached with absolute delicacy.
HEPA-filters employed.
No detail must escape. 
No calculations go astray.

Cherished are the opportunities of mechanically line by line translation.
Understanding assumptions.
Shunning luring traps of "obvious optimizations".
Burking itching hands wanting to go n-layer architecture.

For this is a different world.
Strange do-while loops, breaks and goto's.
Multiple inheritance, global variables employed in view of even minuscule code-reuse.
Everything an "i", "j", "k". Lucky be the Hungarian-named "szNam", "us", or "aulClrs"!
Database table- and column-names restricted by 8 character limits.

Reminiscence of arcane wizard spells...



Comments

If you have any comments to this article, please drop me a mail at firstclassthoughts at gmail dot com please indicate if I can't publish whole or parts of your comment on the site.


If you like this site consider subscribing to my RSS feed or how about subscribing by Email.


Help spread the word

Share this post on your favorite social bookmarking sites:
If you enjoyed this article, found it thought provoking, educative or otherwise good, please link to this page from your page or social bookmarking page. If you have any texts you think are worth publishing on First Class Thoughts, don't hesitate to send me a mail! Quality always welcome.


Bookmark and Share


The most recent contributions
28/07/09 Magic in mathematics II Fun with the number cyclic numbers, and specifically with 142857 as it is the smallest of such numbers.
13/07/09 My top 8 time-saving Firefox shortcuts This article presents my favorite top 8 time-saving shortcuts in Firefox 3.0 and Firefox 3.5. Get to know these and you'll be saving a lot of time. They have been ordered by "the element of most surprise"
20/05/09 Board Game Jungle speed / Arriba Review of the cool game "Jungle Speed" aka. "Arriba".
16/05/09 Danish Twin words "Twin words" are words that not only have multiple meanings, they must be composed next to each other in meaningful sentences. This article explores the concept of twin words.
Nothing of interest? Try browsing the entire article archive...