DEV Community

Discussion on: Does Coding with a Column Width of 80 Make Sense in 2024?

Collapse
 
nikoheikkila profile image
Niko Heikkilä

In my team we have ditched the hard line length rule and activated soft wrapping in editors. Mainly for two reasons:

  1. Macbook trackpads are comfortable enough scrolling code horizontally and vertically
  2. You can be more productive with the actual logic when you don't need to care about line length (the same goes for tabs vs. spaces argument)

And if, for some reason, we should enforce a hard line length then we would add the rule to our linter and the code would be automatically formatted to the width.