Software Engineering Wisdom: DRY

Today's Engineering wisdom is, "Stay in the DRY!" A Corny opening statement, but I don't really care what you think of it.. cause it doesn't really matter.

Related: Tip No. 1 | Tip No. 2 | Tip No. 3 | Tip No. 4 | Tip No. 5 | Tip No. 6 | Tip No. 7 | Tip No. 8 | Tip No. 9 | Tip No. 10 | Eclipse Java Project ExportIP Change Management

What matters though is the message it conveys, DRY stands for Don't Repeat Yourself, which further translates to the fact that you should stay away from having duplicated pieces of code laying around your application.

Why is that bad you may ask (Really?! You must be kidding me!). it is because if you need to update this piece of code due to a certain modification or bug fix, you will have to remember to apply the change all over the place! Having that said, when you do have such a case of repeated code, it is generally an indication of bad software design.

Read more on the topic on Wikipedia or Google it. You may also need to practice on your design skills to make your life and others' easier!

Finally, please spread the Karma by sharing this Blog or Blog Post it's all up to you!

Comments

Popular posts from this blog

Tech Tips Digest: 2