Submit your breaking news stories and original articles to us by contacting us
Most programmers have, at some point, had to maintain someone else’s code. And it usually sucks. A lot. Maybe there are no comments at all, or if there are comments they’re not helpful (e.g. i++; //increase i by 1). Perhaps that why this “guide” to writing unmaintainable code made me laugh out loud.
If, for example, you were writing an airline reservation system, make sure there are at least 25 places in the code that need to be modified if you were to add another airline. Never document where they are. People who come after you have no business modifying your code without thoroughly understanding every line of it.
I’m not sure how old this is, but it’s a goodie.
Windows Code Rewrite Fictional
Funny Code
Seven Low-Cost Ways to Improve Legacy Code
Learning Morse Code From the Commandline
Code Highlighter
Forever Geek is a resource for all things geek. You can stay tuned by having the latest FG news delivered to you for free via RSS.
Category: Uncategorized
Tags:
10 Cool Sony Walkman photos – celebrate Walkman’s 30th birthday
27 weird and cool pool balls and accessories
iPhone 3.0 GM, still a crippled device
Does Apple want to be exclusive, niche again?
iReddit: iPhone users charged for privilege of accessing Reddit
2 Responses for "How to Write Unmaintainable Code"
February 7th, 2005 at 4:16 am
1Thats brilliant, I’ll read more of this later.
May 14th, 2009 at 10:24 am
2Yawn.
RSS feed for comments on this post
Leave a reply