Don't repeat yourself
Fri, 2020-Feb-21 02:05 UTC
Length - 2:12
Welcome to popular Wiki of the Day where we read the summary of a popular Wikipedia page every day.
With 548,302 views on Thursday, 20 February 2020 our article of the day is Don't repeat yourself.
Don't repeat yourself (DRY, or sometimes do not repeat yourself) is a principle of software development aimed at reducing repetition of software patterns, replacing it with abstractions or using data normalization to avoid redundancy.
The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system". The principle has been formulated by Andy Hunt and Dave Thomas in their book The Pragmatic Programmer. They apply it quite broadly to include "database schemas, test plans, the build system, even documentation". When the DRY principle is applied successfully, a modification of any single element of a system does not require a change in other logically unrelated elements. Additionally, elements that are logically related all change predictably and uniformly, and are thus kept in sync. Besides using methods and subroutines in their code, Thomas and Hunt rely on code generators, automatic build systems, and scripting languages to observe the DRY principle across layers.
This recording reflects the Wikipedia text as of 02:05 UTC on Friday, 21 February 2020.
For the full current version of the article, see Don't repeat yourself on Wikipedia.
This podcast is produced by Abulsme Productions based on Wikipedia content and is released under a Creative Commons Attribution-ShareAlike License.
Visit wikioftheday.com for our archives, sister podcasts, and swag. Please subscribe to never miss an episode. You can also follow @WotDpod on Twitter.
Abulsme Productions produces the current events podcast Curmudgeon's Corner as well. Check it out in your podcast player of choice.
This has been Kimberly. Thank you for listening to popular Wiki of the Day.
For current episodes, or for the rest of the Wiki of the Day family of podcasts go here.