One problem with hierarchies is the potential for abuse, now your boss is competent, but tomorrow your next boss may not be and then there is a problem. At the very least even a competent person makes mistakes.
And that is all assuming your boss became your boss due to merits and not something like “my father owns the business”(been there, was asked to write mobile app in Haskell).
If I remember correctly there was some kind of a framework or a library, but fuck that… I left the company a few months later.