3 ms·
A REPL is better when prototyping but tests have a lot of value afterwards. They're repeatable and they can be used to spot regressions. I think that the a goo
by msangi 9y ago
A REPL is better when prototyping but tests have a lot of value afterwards.
They're repeatable and they can be used to spot regressions.
I think that the a good workflow is to do initial experiments on a REPL followed, once I get an idea of the code will look, by writing tests and the actual code that will run in production.
- didibus 9y agoYea, you still want regression tests no doubt, but those are very different from TDD. You only need write them after you're code complete on a feature.