Code Smells - Long Method

|

Another excellent post by Keith Ray on Code Smells - Long Method.

Comments should deal with why a certain design decision was made, why a certain algorithmn was chosen etc. - and not describe what's going on in the code. Everytime you encounter a comment describing what a piece of code does, there's an opportunity for Extract Method.

About this Entry

This page contains a single entry by HMK published on July 2, 2005 5:12 PM.

Keeping the Design Good was the previous entry in this blog.

The End of the Rainbow is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.