News for hackers. Stuff that matters.
Re:Controversial Programming Opinions (2012) by selfhoster11 on Friday December 04, 2020 @04:59PM (#25308718)
Horizontal scrolling can be avoided with line-wrapping. It's not always a good way to deal with the problem, but it's useful for some edge cases.
Re:Controversial Programming Opinions (2012) by lolinder on Friday December 04, 2020 @11:04PM (#25311638)
Line wrapping is often difficult to read as well. If programmers wrap the line themselves, they can break it up logically, rather than letting the computer break lines wherever it's convenient. Further, they can respect the indentation level of the line, whereas most line wraps I've seen wrap starting all the way to the left.
Re:Controversial Programming Opinions (2012) by xigoi on Saturday December 05, 2020 @05:45AM (#25313477)
Vim has a setting to make line wraps start at the same indent as the line.