Re:Fun vs. Computer Science (2016)
by msangi on Saturday August 26, 2017 @03:45PM
(#15107014)
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.
Re:Fun vs. Computer Science (2016)
by didibus on Saturday August 26, 2017 @06:46PM
(#15107889)
Yea, 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.
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.