Re:Readable code is not for maintenance only
by kaitnieks on Monday October 05, 2009 @11:14AM
(#861929)
I agree. Even when I had just started Pascal after early childhood years of ZX-Spectrum basic, even when I wrote a game that consisted of one huge block of code and the only reason I had to split it in 2 procedures called Dog1 and Dog2 is because Pascal compiler started to complain about main code block being to large - even then I was never puzzled by my own code.
Sadly I have lost the source now. I'm sure it's an epic and hilarious mess.
Unlike the author, I don't forget the code I wrote yesterday and can still explain and understand it. It takes several months for the meaning of my normal code to slip my mind. Maybe I'm just different ... but I even find that going back and relearning my code easy too.
(Not that I write particularly obtuse code, or never comment upon anything.)