Recent Posts
Calendar
September 2009
S M T W T F S
« Aug   Oct »
 12345
6789101112
13141516171819
20212223242526
27282930  

Archive for September 15th, 2009

Copy And Paste And Bugs

A04C0007

We all do it.  I’m sure of it.  It’s too easy. I need code that looks almost like something else I wrote so I just copy and paste it over to the new code.  Done.

But at what cost?

Is it really that much like the other code?  Did you forget to change something?  What happens when you need every instance of this change to be changed?  Are you going to remember all the places where you made this change?

The one thing we all do to save time is the one thing that ends up costing us the most time in our development projects.

Let me illustrate.

Read the rest of this entry »