Writing Clean Testable Code

Miško Hevery a Google Best Practices Coach gives an excellent talk what Clean Code. He's pitching writing testable code, pointing out problems that make code difficult to test. If you're already practicing TDD there will be very little new here. But if you're struggling either not convinced that TDD is worth the learning curve or convinced that you design well without TDD, then this video is for you. In addition he provides one of the better arguments for and descriptions of dependency injection.

He also has an interesting blog, Interesting entries: Testability Explorer: Measuring Testability, Dependency Injection Myth: Reference Passing, To “new” or not to “new”… and Application Wiring on Auto-Pilot.

Be Sociable, Share!

Related posts:

  1. Recent Readings of Interest
  2. Online Code Reviews suck – even Guido van Rossum can’t fix that
  3. Mythbusting – Collective Code Ownership
  4. Pair Programming vs. Code Reviews – It’s a no Brainer
  5. Best Agile Books 2007 Development/Code Related

Certified ScrumMaster TrainingIf you enjoyed this post take a look at Certified ScrumMaster Training. We currently have courses scheduled in Ottawa and Edmonton.