3 ms·
You are blinded, that's what it is. Unit tests became popular relatively recently. When I started development decades ago there was no talk of unit tests at al
by lmilcin 6y ago
You are blinded, that's what it is.
Unit tests became popular relatively recently. When I started development decades ago there was no talk of unit tests at all.
Do you want to suggest that people were unable to effectively write working software back then?
Just think about this.
Unit tests are just one way to help make it more likely the code works. It is neither the only way nor the best way.
- Nursie 6y ago> You are blinded, that's what it is. Others might call it experienced. > Do you want to suggest that people were unable to effectively write working software back then People are still unable to effectively write working software. Unit tests are useful for catching problems, which are inevitable, early. They have grown in popularity over the last couple of decades precisely because of the prevalence and costs of preventable errors in the industry. I'm afraid I don't believe that simply by trying really hard you can eliminate said errors, nor do I believe the productivity trade-off would be worth it. > Unit tests are just one way to help make it more likely the code works. It is neither the only way nor the best way. Absolutely, they are part of a whole spectrum of techniques and are far from enough in isolation. I've never claimed they are the be-all and end all. They're a useful and essential part of a system of checks and validations, not the only thing you need to do. The clue's in the name, they test units.
- ric2b 6y ago> Do you want to suggest that people were unable to effectively write working software back then? On the first try? Yes, absolutely they weren't, and still aren't. > Unit tests are just one way to help make it more likely the code works. It is neither the only way nor the best way. Agreed.