> For example if the code is buggy and shared, odds might be higher that the bugs will never be found because nobody will bother trying to write the code again.
Your reasoning is a bit odd. It's a good thing that nobody will bother trying to write the code again. The world has enough people who can write code. We need more people who can read and dissect code, refactor them, and add tests where applicable.
Comments
> For example if the code is buggy and shared, odds might be higher that the bugs will never be found because nobody will bother trying to write the code again.
Your reasoning is a bit odd. It's a good thing that nobody will bother trying to write the code again. The world has enough people who can write code. We need more people who can read and dissect code, refactor them, and add tests where applicable.
But what if the results depend on some buggy function? Then it would all be bunk, and nobody would notice.