Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are certainly tradeoffs, but I find that in general shorter line lengths are better.

- easy to lay out multiple splits side by side. Over 100 tends to have issues.

- long variable names or function names tend to be a code smell. Same thing with too many parameters.

- git works much better at diffing and merging vertical lines than things on one long line.

The main downside is that monitors are wider than tall in general - so fitting more code on the screen is certainly nice! But I find moving my eyes and head up/down to be tiring over the course of the day and tend to use vim to keep things centered for myself anyways. zz, LSP search, go to definition, etc.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: