DRY - Don’t Repeat Yourself - Motivator
I’ve been meaning to create a DRY (Don’t Repeat Yourself) motivational poster for a while now, ever since seeing Derick Bailey’s SOLID posters. To me, DRY is at the heart of many software patterns and principles, and sums up much better the similar Once and Only Once principle (which, to me, violates DRY right in its own name).
Duplication is waste.
Repetition in process calls for automation; repetition in logic calls for abstraction.
Refactor to remove wasteful repetition as often as you possibly can, and watch your software design improve. Post this on the wall in your team room (along with others) to keep this principle in mind as you’re writing code.
Create similar motivational posters using Motivator.
Update: I've made a longer post describing the Don't Repeat Yourself principle here.
Creative Commons License
Since I bugged Derick about having a license on his images, it’s only fair that I include one here as well. It’s simply a Creative Commons license.





Comments
RRaveen said on 11 Jun 2009 at 1:08 PM
Dear Sir,
I hope you are doing well. I got this email address from one of your contribution web site. I have launched a web site www.codegain.com and it is basically aimed C#,JAVA,VB.NET,ASP.NET,AJAX,Sql Server,Oracle,WPF,WCF and etc resources, programming help, articles, code snippet, video demonstrations and problems solving support. I would like to invite you as an author and a supporter.
Looking forward to hearing from you and hope you will join with us soon.
Dekoracje Okien said on 16 Jun 2009 at 6:58 AM
I know that repetition isn't the best idea but sometimes it's way easier to just write a piece of code again that to look for it in the whole, huge, messy code.
ssmith said on 16 Jun 2009 at 9:23 AM
@Dekoracje Okien,
That path leads to madness. Cut and paste is almost always easier, but you quickly end up with a Big Ball of Mud. Refactoring toward DRY keeps the system cleaner and easier to understand, and thus to adapt and change.
jouer aux casino en ligne said on 23 Jan 2010 at 2:50 AM
Thanx for the information. I searched MSDN for a class related to SSL connectivity. I couln't find any. there must be some as most the sites with authentication requires SSL. please provide information over the class name and it's dll.