Over the last two years I have had the most profound task of maintaining a piece of code that runs a massive Finite State Machine. Call control is FSM at its core and it is this FSM that dirves call services. You name any feature like call forwarding, voice mail, etc., you will always see a massive FSM that drives it.
It is always funny to see code that migrates from a super-set source language to a sub-set of it. In other words, it is really entertaining to see how a C language code slowly migrates into C++. It is even more entertaining when FSM states are written in C while their handlers are written in C++. And the best of it all, which takes the cream of the crop, is when documentations have missed impacts. Who peeps into the bottom of an ice-cream cone when there are two layers of topping above that to lick?
When terse Architecting documents apparently forget subtleties for the sake of brevity, the code sings evil raphsodies from the grimoire of what was enciphered by the masters. And when you are at it you will have two choices: Work indefenitely or quit.
It takes courage, determination and a prejudiced inclination to feel come-what-may to modify such a code. And it takes one more step closer to the edge to check-in the code and tag it. And when it all bunrs down, it give birth to another bug, opened in a tracker, with a short palnned-fix date and a neatly crafted e-mail to the managers mentioning the complexity of further soiling the code. Never forget to mention that testers will have a field day (and night) testing your code. It was once told to me by an elderly man that we pay for the sins of our ancestors.
I realised that there is no point in whining and weeping and slapping breasts to make a point. They know that they know nothing, but we do not know we know nothing. A great master once told me that water flows over the rocks and so the former is stronger than the latter. I corrected him. I said "smarter". He was enlightened. And I quit.
No comments:
Post a Comment