Hacker News new | ask | show | jobs
by mpdaugherty 5114 days ago
I actually started writing shorter lines of code once I got my large external monitor. I've found it's really convenient to set my editor to take up 50% of the screen vertically and have either a command line or browser on the other half of the screen (and reference windows on the laptop screen). In this setup, the editor is actually slightly narrower and taller than when full-screen on my laptop.

Switching between screen sizes really made me realize the importance of making sure all my code breaks at column 80, which makes it easier to read in terminals, on other people's screens, etc. as well. Good practice, I think.

1 comments

I try to avoid line wrapping, but SQL statements usually force me to have some >80 char lines.