|
|
|
|
|
by beeflet
583 days ago
|
|
well I think the problem is that people use indentation to visually see the context of a block of code, so when you wrap text it messes that all up and if you have code with long variable names and a lot of indentation, there isn't much you can do to prevent the column from going over a certain amount of chars. People (including torvalds) complain that some small limit like 80-chars does not make good use of screen width. Maybe the solution in whitespace-independent code like C is just to "reset" the indentation after a certain amount, or just choose not to indent certain blocks? I just use tabs and set my tab length to 2 or 3 chars. IDK how text editors would adjust the source code to fit multiple screen widths. When I have a line that's too long for the line limit, I have to re-arrange the code in that line to get it under the limit. |
|