Comment by ehnto

4 hours ago

So it follows that the most efficient time to discover bugs is when you first write them.

... or maybe when you see them triggered or exploited reproducibly, then the underlying bug will also be pretty easy to discover. But at that point, it's already too late. :)

I really like your original point, I never thought about it this way.