
Episode 160
160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code
July 8, 202114m 5s
Audio is streamed directly from the publisher (test-and-code.sfo3.cdn.digitaloceanspaces.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
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 Edition
- Don't repeat yourself - Wikipedia
- a-ha - Take On Me
- Rule of three - Wikipedia
- What does “DAMP not DRY” mean when talking about unit tests? - Stack Overflow
Topics
pythonprogrammingsoftwaretesting