When you're analyzing legacy code, try excising "lazy developer" from your vocabulary and see if you can find the true root causes. (Hint: Search for other systems that are offloading their own work onto the devs.)
As long as those root causes remain unaddressed, after all, then even the most studious of future developers may look as "lazy" as their predecessors.