3 ms·
I've done this while at work - I don't anymore as my code responsibilities are fewer. It forces you to consider cleaner code arrangements and also gives an unex
by ejr 12y ago
I've done this while at work - I don't anymore as my code responsibilities are fewer. It forces you to consider cleaner code arrangements and also gives an unexpectedly better overall picture of what you're doing.
Functions become clear from one to the next, especially if they're closely related. It also gives a "non-hard-coded" limit to function length. Instead of X-lines, I now see if the function is getting long enough to cover most of the screen. This also helps weed out my own failures in logic and draws attention to other aspects like clarity.
Ideally, I'd use two screens. One for code in portrait mode and one landscape for other work. Maybe a third monitor for YouTube ;-)