Hacker News new | ask | show | jobs
by delichon 583 days ago
I maintain 80 characters in order to edit files side by side on a laptop screen without side scrolling. I seem to grok code better vertically too.
2 comments

I love how everytime this debate comes up, the 80 character gang keeps adding more stuff to put side by side.

Now we're shrinking the resolution/sizes of the devices we are using to justify it...

Gotta admit a three-way side by side diff/merge is glorious.
Have you ever tried it on three monitors at the same time? For me, it is a real game changer when trying to deal with a difficult, conflicting merge.
If you soft wrap you can avoid scrolling inn this case for any line length without negatively impacting the case of a single file
Is there any editor with an intelligent soft-wrap? I.e. it doesn't just wrap at the end the window. Line breaks should be introduced so that the tree structure of the code (think AST) becomes obvious. That improves readability a lot compared to breaking lines at a fixed column.