News for hackers. Stuff that matters.
Re:When 13.3 is greater than 14 by munificent on Friday November 13, 2020 @04:53PM (#25087960)
Word processors soft wrap text to whatever window width you want. Code editors need to be as wide as the code.
Re:When 13.3 is greater than 14 by fanf2 on Friday November 13, 2020 @07:47PM (#25089275)
In the office I have two 1080x1920 panels, which can each display two columns of code with room to spare. I use the X11 6x13 “fixed” font, and emacs with fringes but without scrollbars, so each column is a few more than 80 characters wide.

At home I have two 1200x1920 panels, a bit more horizontal breathing room, but my code is still less than 80 wide :-)

Re:When 13.3 is greater than 14 by emayljames on Friday November 13, 2020 @05:21PM (#25088238)
Atom, VSCode, Dreamweaver and others also use soft wrap by default.
Re:When 13.3 is greater than 14 by nicoburns on Friday November 13, 2020 @05:36PM (#25088389)
Soft-wrapped code tends to be pretty difficult to read though. Certainly much more difficult than wrapped prose. Personally I prefer horizontal scrolling over wrapping code pretty much always (at least on a mac where horizontal scrolling is easy).
Re:When 13.3 is greater than 14 by jlarcombe on Friday November 13, 2020 @07:14PM (#25089080)
Xcode used to be really good at softwrapping code. It was so useful with the assistant editor on a laptop screen. It got worse at some point around Xcode 8 or 9, which was a shame.
Re:When 13.3 is greater than 14 by jlarcombe on Friday November 27, 2020 @05:32AM (#25227382)
(further to this, I realised earlier that it got better again in Xcode 11 - it no longer double-indents wrapped lines)
Re:When 13.3 is greater than 14 by wolco2 on Friday November 13, 2020 @09:05PM (#25089687)
I can't imagine an editor without soft wrap as the default.

Sublime, wordpad, vim all use soft wrap.