News for hackers. Stuff that matters.
Re:Ideal Monitor Rotation for Programmers by Oddskar on Friday December 03, 2021 @05:15AM (#29428426)
You assume that there are no scenarios where you want two windows up at the same time; e.g. for comparison or quick reference.

I have a custom setup where I can quickly switch between windows and applications using keyboard shortcuts and save e.g. cursor positions.

I still prefer having the relevant material on-screen rather than switching between them. And it's due to the reason previously mentioned: for me it's faster to reference material that is on-screen at the same time rather than switching between them.

Perhaps this has something to do with the type of code bases one works with? I work quite a bit on legacy apps, where one has to reference both documentation, tests and git history (when it's of value), as well as a browser window to actually run the code. That'a already a lot of things to be switching between.

Re:Ideal Monitor Rotation for Programmers by imiric on Friday December 03, 2021 @05:44AM (#29428580)
I do run into those situations of course, where I want to see two windows side-by-side, but it's very rare and almost always temporary. Most of my windows run full screen, and if I need to focus on something else I just switch to it. It's important that this switch happens very quickly, so my window manager configuration has no delays, and every window is a quick keyboard shortcut away (either on a different workspace, "alt-tabbed" on the same workspace, or quickly accessible via rofi).

This workflow completely removes the need for a separate screen. A larger screen and higher resolution would be nice to have, but not for productivity reasons. I've found a 15.6" 1080p display to be sufficient with this setup, even though I have other screens I could use at the same time. It boils down to personal preference, but I doubt there's some "empirical evidence" that using more than one screen objectively leads to higher productivity.