Test & Code

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


Listen Later

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



...more
View all episodesView all episodes
Download on the App Store

Test & CodeBy Brian Okken

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

70 ratings


More shows like Test & Code

View all
Radiolab by WNYC Studios

Radiolab

44,010 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

623 Listeners

Heavy Networking by Packet Pushers

Heavy Networking

328 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

587 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,001 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

141 Listeners

Unexplainable by Vox

Unexplainable

2,285 Listeners

Network Automation Nerds by Packet Pushers

Network Automation Nerds

3 Listeners