DRY – Don’t Repeat Yourself – Motivator
Date Published: 08 June 2009
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.
Creative Commons License
Steve is an experienced software architect and trainer, focusing currently on ASP.NET Core and Domain-Driven Design.