Wednesday, July 16, 2008

The Don't Repeat Yourself (DRY) Principle

Don't Repeat Yourself (DRY)means "Avoid duplicate code by abstracting out things that are common and placing those things in a single location".

DRY is really about ONE requirement in ONE place. The benefit is once the requirement is changed, you only need change codes in ONE place in the whole application.

No comments:

Post a Comment