I should be nicer, but it all depends on how you use it. I love to code on my laptop with higher font and line height because that is an additional reminder to keep my methods simple and small. If I'm having to scroll to see the contents of a method that is a direct indicator that I have a method that is doing too much.
24" 1080p IPS screen on a monitor arm is perfect for writing code and testing frontend layouts as it resembles the resolution that the majority of users are running their computers at. And the font scaling at this pixel density is just great for IDE code work, easy on the eye.
27" 1440p IPS is great for working with graphic editors as you get a lot of screen real estate. It's also massive for in-browser responsive design testing via devtools — for the same reason.
Personally, I do both, so I have 24" 1080p and 27" 1440p hanging side-by-side. I find myself doing doing code work very rarely on a 27" 1440p, though. It's either 24" 1080p or my old 15" MBP late 2013 with Retina screen.
@andyandy I don’t know about you, but I tend to write code that’s seldom longer than 80 characters (as per PSR guidelines) and that fits on even a 13-inch MacBook Pro screen just fine.
If you’re finding you need a 27-inch monitor for coding, then I don’t think your current monitor size is the issue…
What if the OP works on a Windows machine, though? "Just buy a macbook" is not a solution for them by any means. They also stated that they're currently working with a 23" 1080p monitor.
And the 27" 1440p monitor does a great job when you need a lot of real estate to run an IDE at one side of the screen and split the other side vertically in half to run a terminal window and something else like note-taking app, or something like that.
It's not about writing longer lines of code, it's about preference and using the screen real-estate efficiently.
@oleg_knyazev I didn’t say buy a MacBook, did I? I just said that I can code on something as small as a 13-inch screen because the line lengths of my code don’t exceed that.
No, no, I'm not being aggressive in any way, just giving the perspective. And "just buy a macbook" is an extremely popular "solution" among Mac-only users. MBPs are excellent for coding, almost perfect, but that only applies to coding/writing. Working with responsive UI design on a macbook, though, is a torture, even on the 15/16" screen models. Doing UI work on a 1440p/2160p screen is just liberating after that.