This post originated from an RSS feed registered with Java Buzz
by Ben Hosking.
Original Post: Smells to Refactoring Cheat Sheet
Feed Title: A Funny Java Flavoured Look at the World
Feed URL: http://businesslogs.com/WebLog/RSS.xml
Feed Description: The blog looks at using Java and programming in general as it pops up in life as a Java programmer. It will have links to interesting Java articles and resources. It will also have a lot of SCJP Java 1.5 information and links as I am currently studying
this is a two page quick reference guide to Refactoring and the code smells you should be looking for. It's a good sheet to have on your desk or pinned up because you can glance at it quickly just as a reminder. It wasn't until only recently that I have read articles about refactoring and then joy of joys I found the eclipse refactoring tools which are top banana.
The comments on the code smells are quite humorous, check this one
"Inappropriate Intimacy: Sometimes classes become far too intimate and spend toomuch time delving into each others? private parts. We may not be prudes when it comesto people, but we think our classes should follow strict, puritan rules. Over-intimateclasses need to be broken up as lovers were in ancient days. [F 85]"
I found this cheat sheet really interesting, especially as I am fixing a bug in some code which smelling stronger than someone who has just came back from Glastonbury