3 ms·
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
by herge 13y 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.