I’ll second that. I used an iMac for years (27” 5K) and wouldn’t want to go backwards (quality and UX-wise). Get Apple if your budget stretches or third party otherwise.
The OP article makes a technical argument for avoiding (non-integer) scaling but that doesn’t apply for your stated uses (or mine). For macOS you absolutely don’t want 2K. You basically want 2x (twice the pixels of your display resolution, so 4K views as 2K and so on) and you can squeeze a bit more out of it by scaling which the OS does seamlessly.
But I reckon if you liked your iMac you’ll risk being disappointed if you don’t go to 5K (life should get better, not worse).
The OP article makes a technical argument for avoiding (non-integer) scaling but that doesn’t apply for your stated uses (or mine). For macOS you absolutely don’t want 2K. You basically want 2x (twice the pixels of your display resolution, so 4K views as 2K and so on) and you can squeeze a bit more out of it by scaling which the OS does seamlessly.
But I reckon if you liked your iMac you’ll risk being disappointed if you don’t go to 5K (life should get better, not worse).