The Artima Developer Community
Sponsored Link

Java Buzz Forum
Smells to Refactoring Cheat Sheet

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ben Hosking

Posts: 208
Nickname: hoskinator
Registered: Apr, 2006

Ben Hosking is Java Developer with about 5 years experience and interest in OO
Smells to Refactoring Cheat Sheet Posted: May 18, 2006 8:28 AM
Reply to this message Reply

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
Latest Java Buzz Posts
Latest Java Buzz Posts by Ben Hosking
Latest Posts From A Funny Java Flavoured Look at the World

Advertisement


 

Joshua Kerievsky has put on his a pdf file up for download called "Smell to Refactoring Cheat Sheet" http://industriallogic.com/papers/smellstorefactorings.pdf

 

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 too much time delving into each others? private parts. We may not be prudes when it comes to people, but we think our classes should follow strict, puritan rules. Over-intimate classes 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


http://hoskinator.blogspot.com/

Read: Smells to Refactoring Cheat Sheet

Topic: Don't give in to feature demands! Previous Topic   Next Topic Topic: Continuous Integration: Not Just for Large Teams

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use