Re:80 chars per line is great
by rdtsc on Monday March 25, 2013 @02:26PM
(#5438685)
I think it is not optimal to easily convey logical structure when code spans long lines left to right. If all the lines are consistently above 120 characters or so, it it is a smell test for bad code (or maybe the wrong language or framework).
Having a consistent width also means not having to rely on a randomly chosen width of the editor and then have random wrap-around code or having to resize the window horizontally or scroll horizontally when also scrolling vertically.
Most good editors will handle well multi-line splits. I use emacs I know it does, it would be silly to use MS Word to edit code.
When I started out I didn't follow the 80 column rule it is something that came with experience (also being able to afford a better monitor, paradoxical perhaps, but once I could open two windows side by side, I wanted to be able to not having to scroll either horizontally).
Having a consistent width also means not having to rely on a randomly chosen width of the editor and then have random wrap-around code or having to resize the window horizontally or scroll horizontally when also scrolling vertically.
Most good editors will handle well multi-line splits. I use emacs I know it does, it would be silly to use MS Word to edit code.
When I started out I didn't follow the 80 column rule it is something that came with experience (also being able to afford a better monitor, paradoxical perhaps, but once I could open two windows side by side, I wanted to be able to not having to scroll either horizontally).