2 ms·
> But you also have to decide at what point to hard wrap each line based on a max line length I think that you should not be doing this, for the same reason th
by JohnFen 1y ago
> But you also have to decide at what point to hard wrap each line based on a max line length
I think that you should not be doing this, for the same reason that you should use tabs. It allows the user to select whichever hard wrap point (if any -- I generally choose to not have one) they prefer.
But all of this sort of thing is pointless debate these days, when it's pretty fast and easy to preprocess the files to match your preferences prior to editing.
- deleted 1y ago[deleted]
- eurleif 1y ago>It allows the user to select whichever hard wrap point (if any -- I generally choose to not have one) they prefer. And then have merge conflicts between people who set different hard wrap points? Did you mean to say soft wrap point?
- JohnFen 1y agoYes, my mistake.
- 1718627440 1y agoBut you don't hard wrap at exactly the max line length anyway. You wrap at the somewhere sensible near the max line length. This is much more tolerable to size changes in indentation.
- quietbritishjim 1y agoThat's is a much worse user experience. The slack has to be greater for more-nested lines. In other words, you're really just catering to those who have wider tabs.