You don’t know the constraints the previous person was under, so you can’t possibly know what you really would have done or what “should” have been done.
I mention this because there’s still a tone of, “there is approximately one right way to code” in this article, and I really doubt that.
Make good choices now, but don’t be harsh to the folks who came before you.