4 ms·
> The world has moved on now and most programmers are duct taping parts together so unit testing no longer has a place in this world. Even on business-domain l
by rectang 6y ago
> The world has moved on now and most programmers are duct taping parts together so unit testing no longer has a place in this world.
Even on business-domain level components there are often simple routines which can and should be tested. Larger routines should be built up from smaller ones. Divide-and-conquer is a fundamental engineering principle.
If there are no such small-enough-to-be-tested routines, then the code is not being written with testing in mind. If all your functions are hundreds of lines long, then yeah it's hard to write unit tests!
- exclipy 6y agoOccasionally, yes. But if you're job is to convert JSON to DOM nodes using React, then no. In this world, what's more likely to go wrong is that one element overlaps another when zoomed to 122% on IE 11.