Re:Hackers' Screenshots
by nailer on Thursday August 07, 2008 @09:54PM
(#270216)
Why wouldn't you wrap source? OK, ideally it's better not to have overly long lines, but if you do, why bother horizontally scrolling?
[ Parent
| on HN ]
Re:Hackers' Screenshots
by anewaccountname on Thursday August 07, 2008 @10:40PM
(#270238)
>Why wouldn't you wrap source?
Line endings have significance in some languages. Even in languages where they don't, it can confuse you by looking like the end of an indentation level.
> it can confuse you by looking like the end of an indentation level.
It shouldn't - any competent editor should have no line number on the area it wraps round.
It means you can't scan down the left hand side of the editor looking at indentation, you've got to double check with the existence/non-existence of line numbers. For the same reason that it is easier to read left-aligned text than it is to read right-aligned text, though not quite as bad since not all lines are "wrong".