Triple-glazed windows do work wonder. I live atm in a modern construction with triple-glazed windows everywhere. Now it's not the city per se, more like the posh suburbs, but it's still an apartment, with neighbors. But you don't hear them, nor do you hear the cars outside.
That said TFA's author is a real dick and that is seen in the way he writes. You don't "teach" your neighbors and you don't program them in a pavlovian way. He obviously has got an inferiority complex and he's expressing it by playing though in the way he writes.
I actually had that too, but they don't stop sounds from inside the building like constant bathroom renovations etc.
The problem is also that the moment you walk outside you're bombarded with all the sounds of the city. ANC headphones exist but so do air-pollution masks, I don't think that's the way forward or at least that's not how I want to live my life.
He might have, and my experience is that you cannot teach inconsiderate people, they lack social object permanence: as soon as you don't stand in front of them, they become unaware of your existence and thus are also unaware that their music at two in the morning might be annoying to you.
Better windows don't help either - but they're great for noise outside. The only thing that helps against horrible neighbors is moving. If you've never learned that lesson, you've never had horrible neighbors.
> You don't "teach" your neighbors and you don't program them in a pavlovian way.
Sure you do. Punishment of bad behavior is a basic social rule. Words were exchanged. All they had to do was listen, understand and stop the bad behavior. Had they done that, things would not have escalated beyond a polite conversation. Unfortunately, people often choose overt disrespect instead. They choose to challenge the other guy to do something about it.
If anything they should be glad the punishment was as civilized as this. There are many places in this world where it could easily escalate to actual violence.