On the sister comment about windows on the 33th floor, those will still have a ton of benefit from an health perspective as a source of natural light (full spectrum), open view (can focus to infinity instead of a few meters away) and overall mental relief if there's no fear of height.
There's actually the same debate on access to sun, where construction code usually prohibit a taller building from 100% occulting the sun from surrounding houses.
Those could be compensated by some artificial mechanism, but would not be guaranted to work. Windows FTW.
And I've lived in them and they're fine. Forever no. For a few weeks or months on a budget sure.
"Must" have windows is simply a preference people have.
Historically, these regulations were created to exclude the poor from areas. They do line up with most peoples preferences, but many would rather save in rent vs have a window.
Yes, this does make apartments more expensive but so does every rule that sets a minimum construction standard.
My apartment is fitted with multiple sprinklers, which I assume gets it up to code.