
Working Effectively with Legacy Code • Michael Feathers & Christian Clausen
GOTO - The Brightest Minds in Tech
00:00
Encapsulation: How to Make Testing Easier
Amitai Etzioni: I don't mind breaking encapsulation if it makes testing easier. When you're encapsulating, you should be thinking about what it is you want to encapsulate, right? If you go and break encapsulation at the edge of a new sphere that you want to hold as your place of encapsulation is okay, because you're creating like a new boundary around something of value," he says. "It's the matter of finding the things of value that are there"
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.