"The Clean Code Talks -- Inheritance, Polymorphism, & Testing"
438,465 views
Why it's on BrighterTube
Hand-picked by a BrighterTube curator · found via HackerTube (Karpathy's dataset of videos Hacker News recommends · 84% confidenceMiško Hevery shows how to replace repeated if and switch statements with polymorphic classes, refactoring live and explaining why the result is easier to test; a classic Google Clean Code talk with concrete before-and-after code.
What you'll learn
Miško Hevery shows how to replace repeated if/switch logic with polymorphism and why that makes code easier to test.
Video by Google TechTalks, played through YouTube's embedded player.
Part of Testing
Go deeper
- A Philosophy of Software Design, John OusterhoutShort, wise book on managing complexity in code
- The Pragmatic Programmer, Thomas & HuntTimeless advice on the craft of programming
As an Amazon Associate, BrighterTube earns from qualifying purchases. Picked by hand for this subject; nobody paid to be listed.