I cannot help but feel like a lot of the problems in the over-regulation of construction and real estate is due to public ignorance and apathy. If people cared more about how well built their homes were, we would not have needed tremendous government regulation to force builders to build safe houses. My father works construction and between the UCC being dozens of chapters long and every municipality having its own grandfathered in or exceptional bullshit make breaking ground a minefield of bureaucratic nightmare.
In hindsight, I wish we could have produced third party unaffiliated review boards for new construction so that builders could get their blueprints and finish products certified. We could have had an industry of competitive certification processes directed towards homebuilding, and the most trustworthy and reliable certifications would have gained name recognition builders would desire for well built property. Then we could avoid this entire trainwreck of bureaucracy, but understandably volunteer certification doesn't help the poverty stricken when being offered a "cannot be beat" deal on a derelict unsafe house, which is the root problem in all this. It is just generally a mess and as someone coming from a software background who has a father in construction to hear all the disasters from, wish there were a more obvious solution other than "try deregulating and hope you don't get the poor killed or screwed over in the process".