>Glowing Green Wrist Band

>….also known as Marick’s Law.

When it comes to code it never pays to rush.

The latest post from Uncle Bob is classic, because I’m sure most of us have been there or done that. It reminds me of the classic example in eclipse code…how many copies of SWTUtil are floating around? Code bloat comes in all sorts of sizes, sometimes the simpliest code to clean up is not to duplicate the common methods or classes that we use.

What I found more interesting was that when he finally went to clean up his duplicate code, he found he already had the template method defined in the abstract class, and didn’t even realize it.

Take the time to clean the code, it will save you and others time later.

Advertisements
This entry was posted in eclipse, xml. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s