3 ms·
Tests are obviously an important part of software development. The first thing I wrote once I got Hecl running was a simple test suite. However... I got it ru
by davidw 19y ago
Tests are obviously an important part of software development. The first thing I wrote once I got Hecl running was a simple test suite. However... I got it running first - I played around, I tried a few things, then I sat down and wrote the code that defined how it should be. When adding new features, sometimes I know exactly what should happen, so I'll write a test. Other times, I don't know how it should work, and need to experiment some, to see how different things would work out in practice. In those cases writing tests first is a waste of time.