Hacker News new | ask | show | jobs
by mooism2 4499 days ago
Code is read far more than it is written. Therefore code legibility is important. Line length affects code legibility. Therefore line length is important.
2 comments

Code 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.
Also, we talk about it because it does not need any brain power.