Skip to content

Comment on Why Is Object-Oriented Programming Useful? With a Role-Playing Game Example

Comments

The author should really consider some proper way of displaying code, instead of a textbox.

Also, for some reason, on safari the code is in one line, while on chrome it's in multiple lines, like it should be.

The highest priority rule is the in-line which specifies white-space: nowrap; which doesn't preserve multiple whitespace. Firefox and Safari does what he says. I'm not quite sure why Chrome is displaying it differently..

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.