SOLID and TDD, Sitting in a Tree
by Mike Nicholaides
You’ve heard the claims or know from experience that test-driven development (TDD) produces better code. Perhaps you’ve also heard that to write better code you should be following the SOLID principles. Is there a connection between practicing TDD and writing SOLID code?
In this talk, I’ll use examples gleaned from real life to demonstrate how TDD prompts us to produce code that conforms to the SOLID principles, and how the SOLID principles are where we should turn when our tests are causing us pain. In doing so, we’ll learn what each principle really means and why it’s valuable.
This talk is suitable for developers who are comfortable with testing, but familiarity with SOLID is not necessary.
This talk has not been given elsewhere.
I organize the Code Retreat in Philadelphia where the focus is on learning TDD, communicating with code, and of course, having fun.