In case anyone reading thinks otherwise: you can absolutely be a socialist and a YIMBY. Maybe your goal is Vienna style housing. The only thing you need to acknowledge is that cities need 'enough' housing.
Yeah but there's this entire genre of hammer-and-sickle-in-bio online guy who thinks socialism is about ideals, not the material experience of the proletariat. Those guys think we should outlaw home building until after the revolution.