3 ms·
At google (at least when I was there) they have a hard rule of 120 character lines or something. (I think it varies by language). I thought the rule was ridicu
by josephg 6y ago
At google (at least when I was there) they have a hard rule of 120 character lines or something. (I think it varies by language).
I thought the rule was ridiculous - until I realised one of my colleagues had set his computer up with 3 tmux sessions side by side, each perfectly fitting a 120 column code window. He never had to scroll sideways, and he was very productive with his setup. The fact he knew exactly how wide to make his terminals made his workflow much better.
I don’t follow that rule on my own projects, beyond keeping line lengths “reasonable”. But that rule might be on to something.
- pc86 6y agoI don't think the fact that it worked for one guy (or more accurately, that he adjusted his workflow according to this rule) makes it a good rule by definition.
- Brian_K_White 6y agoIt's not that they contorted their workflow to satisfy some arbitrary rules, it's that the fact of the dependable consistent rule made it possible for them to formulate an efficient dependable consistent workflow at all.
- elektronaut 6y agoThis is why I’ve come around on the 80 character rule after switching to Emacs, fitting four buffers side by side on my 27” monitor just works. 120 characters/3 columns is great for more verbose languages, but I find it a bit too wide for a vertical split on a 15” laptop monitor.
- moron4hire 6y agoI just enable word wrap in my editor