4 ms·
I'm glad we talk about this. Once we have solved this question we can move on to really important stuff, like tabs vs spaces.
by nkuttler 13y ago
I'm glad we talk about this. Once we have solved this question we can move on to really important stuff, like tabs vs spaces.
- mooism2 13y agoCode is read far more than it is written. Therefore code legibility is important. Line length affects code legibility. Therefore line length is important.
- zk00006 13y agoAlso, we talk about it because it does not need any brain power.
- sparkie 13y agoCode can be read in more ways than one. More often than not you aren't interested in all the minor details in a single statement, but you're interested in the larger structure of some code unit (say, a function), and having dozens of wraps in a function hinders the ability to scan through the code vertically. Therefore, line length is unimportant.