4 ms·
TDD, or at least effective use of automated tests can make implementation much faster and code better. Mappings + conversions are such a case. For example if
by radicalbyte 12y ago
TDD, or at least effective use of automated tests can make implementation much faster and code better.
Mappings + conversions are such a case.
For example if you're using an ORM being able to test the mappings in seconds will increase velocity. Or if you've written a function to convert type T0 to type T1, then automatically testing all combinations of T is very effective.
- darkFunction 12y agoAbsolutely agree that it can. For cases like you mention, where it's convenient to be able to rapidly test the outcome of a piece of code, it can be orders of magnitude faster and you have a greater confidence in the end result. On average though, it takes longer (as summarised in the article).