I worked in a place that used the "inheritance by copying working code" technique. It was a web app in ASP; each page was basically a stand-alone mini-app that had been copied from some other working page and then modified. Since we had no unit tests, there was one benefit, and that was that you could change the code on a page and be fairly certain that you would not affect any other pages.