3 ms·
> Any of my developers caught wasting their time on these would get a stern talking to. Assuming this is serious, FWIW I'm a STEM PhD and I find that even in t
by jimhefferon 9y ago
> Any of my developers caught wasting their time on these would get a stern talking to.
Assuming this is serious, FWIW I'm a STEM PhD and I find that even in the smallest scripts, even just web-scraping stuff, if I don't write unit tests then I get it wrong and later discover I need to do it all again. Or worse, I figure out later, after I've built lots of code over this, that there is an error and the subsequent code all needs to be redone.
In short, I find unit tests to be a big time and effort saver. And I get the right answer, for a change. :-)