160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code

08/07/2021 14 min Episodio 160
160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code

Listen "160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code"

Episode Synopsis


Should your code be DRY or DAMP or something completely different? How about your test code? Do different rules apply? Wait, what do all of these acronyms mean?We'll get to all of these definitions, and then talk about how it applies to both production code and test code in this episode. Links:The Pragmatic Programmer, 20th Anniversary EditionDon't repeat yourself - Wikipediaa-ha - Take On MeRule of three - WikipediaWhat does “DAMP not DRY” mean when talking about unit tests? - Stack Overflow