A lot of my old work didnt depend heavily on looking at a terminal output constantly.
These days, i have to have about 3-4 things running. The extra screen just becomes a log window.
You can argue the software should be redesigned, i do too, but the problem for me remains and a second screen while not solving it, alleviates it a lot.
It might have something to do with using a twm, might not.
All i know is that i dont miss the days of tab cycling and desktop flipping.
What works excellent (at least for me, not necessary for you) is to set shortcuts to your most used applications (be it the function key row, or some hjkl combinations). With such a setup you can just press a key / combination from muscle memory, instead of opening the tab switcher overlay, parsing it, deciding how often you need to press tab, and then actually switching to the other application window. Keeping shortcuts to applications feels like you would only have to do the last step.
But since those don't exist, my general preference is an available external screen that I can use if needed. I like to couch/chair code a lot with my legs up, so I don't like to rely on an external monitor, so I try not to get used to one full time.
Finally, I work most effectively when I hold what I need in my head, and find that multiple displays fights against that need.
The only real exception to that is if I'm writing front end code of some sort, having the live updates helps a ton.
Lastly, if I could have a bigger display on my laptop, I'd be up for that!