Hacker News new | ask | show | jobs
by herge 4632 days ago
Maybe TDD emerged from dynamically typed languages because it is so much easier to write tests in a dynamically typed language?

When testing a statically typed language, you have to jump through a lot of hoops to create mock objects, shims and things like that to satisfy the compiler, especially with legacy code that wasn't written in an easy way to test.