Don’t Repeat Yourself

added by gilf
1/26/2010 11:19:06 PM

0 Kicks, 67 Views

Today while I was doing code review I found myself writing a new generic function instead of one piece of code that was repeating itself in the developer’s code. When you write code sometimes you have to duplicate some piece of code. When it occurs, this is the best time to think of refactoring your functionality.


0 comments