> What if <common sense>?
I find it baffling that some people had to find this out the hard way. You already knew that it's — if not more work — then at least more tedious to study existing code than write your own.
People have been choosing greenfield rewrites over grokking legacy code since forever.