Re:Software Engineering at Google (2020) [pdf]
by dmitriid on Wednesday May 04, 2022 @02:04AM
(#31257208)
On a wider screen you will probably have several code windows/panes side by side. So, back to 80 characters :)
[ Parent
| on HN ]
Re:Software Engineering at Google (2020) [pdf]
by nickjj on Wednesday May 04, 2022 @08:08AM
(#31259354)
Yep.
If you run 2560x1440 at its native resolution you can fit (4) side by side code windows at 80 characters with a very readable font size. Having 120 character lines only lets you have 2 (3 will cut off the last one by a decent amount).
Being able to comfortably open 4 files side by side is like having access to a completely new world compared to 2. You can often fit the entire context of what you're working on in one visible space.
I use 80 characters for mainly this reason and it's also no extra time spent when using languages like Python because Black will auto-format it for you, it comes down to running 1 command and letting the machine do all of the work.