Hacker News new | ask | show | jobs
by acjohnson55 582 days ago
There's still reason to use line breaks, because many editors / viewers will wrap at the viewport width, not earlier, which is not always desirable. Different content "wants" to be different max widths.

For instance, I think prose is hard to read when you have to scan long horizontal distances from line to line.

However, code often has indentation, syntax, and chains (e.g. nested property access) that take up a lot of width before the actual information is presented, so width is more helpful.