Hacker News new | ask | show | jobs
by wjdp 2024 days ago
Code I can somewhat understand. Notes and email though should be soft-wrapped where line length is totally up to the client.

On mobile: get a 60 char line followed by a 20, and repeat

When editing in a basic editor: changing any text half way through a paragraph requires manually removing and re-adding the line breaks (if they're lucky)

1 comments

I prefer the approach used by markdown. Use whitespace to define semantic elements, ie. headings, paragraphs. Encourage hard wrapping in the "source" file to improve readability on simple/dumb displays (e.g. cat, less, nano etc.). Encourage fancy rendering of semantic elements where possible including user-defined line length, line/paragraph spacing etc.