3 ms·
3. That the design of the API makes sense to the user of that new code. If you practice TDD (Test Driven Development), you first write the test(s), then code t
by briandoll 16y ago
3. That the design of the API makes sense to the user of that new code.
If you practice TDD (Test Driven Development), you first write the test(s), then code to make those tests pass.
You're much less likely to end up with SomeClass.some_reference.a_really_bad_name(with,lots,of,required,arguments) when you first think of the caller, rather than of the method itself.