The following article is a quite nice reading: How to write unmaintainable code I know that it answers exactly the opposite question.
Else I suggest the book "Code Complete" from Steve McConnell which is worth it's weigth in gold.
I had forgotten about that article, Joachim Rohde. It is well worth reading.
Joined: Feb 12, 2010
Joachim Rohde, http://freeworld.thc.org/root/phun/unmaintain.html is a great article to understand both maintainable and unmaintainable code writing. Thank you so much for your sharing. It can help many of us, especially who have huge questions about Java Programing Language.