@thomasfuchs the issue with housing is land, not construction. you can build a building that complies with modern building codes, or even a nice one, for an affordable price. remember that middle class people used to be able to afford brand new homes not that long ago.
the issue is all the land is owned by the rich who want to use scarcity to drive up prices and shut out non-market competition. NIMBYs, single family only zoning, etc. make housing unaffordable. not the cost of turning land into land with house