Those still exist in Hong Kong today. And many other places in the world, for that matter. Even apartments without windows aren't that uncommon. In subdivided floors they're cheaper than the street facing ones, but some people prefer them anyway because there is less noise from the road.