4 ms·
2. Unit testing won’t help you write good code. This is idiotic. First of all, yes, as mentioned in the quote, tests will make sure that the code doesn't brea
by dudul 6y ago
2. Unit testing won’t help you write good code.
This is idiotic. First of all, yes, as mentioned in the quote, tests will make sure that the code doesn't break if some rando changes it. But also, code that can be correctly unit tested is usually good, well-organized code. The simple act of writing code that can be properly unit tested is a significant step towards writing good code.