There are genuine issues with safety/building codes and, yes, it isn't totally insane that neighbors want to keep The Poors out, but it shouldn't be forgotten that housing regulations, including minimum unit size and parking requirements, do greatly increase
the cost of housing at the lower end.