Hacker News new | ask | show | jobs
by istvanp 5222 days ago
You also have to consider that conventional version control was designed specifically for programming code where diffs are done per line (as each line in programming typically serves a single purpose, e.g. assigning a variable). With written language however, that is typically less true. You would only put line breaks after paragraphs and such. Most of the line breaks end up being automatic margin wraps which serve no purpose other purpose than helping readability... Unless you work in version control. What you end up doing is making each paragraph a single line which destroys readability if you don't have virtual text wrapping. Case in point: https://github.com/WiredEnterprise/Lord-of-the-Files/blob/ma...
1 comments

I think this is why formats like Markdown eat newlines, and need two consecutive newlines to produce a paragraph break. This allows you to split paragraphs in smaller chunks, sentences or sub-sentences, hopefully approaching the situation with programming code where line diffs work.