I wouldn’t get a 4K display since most of them are still only 60Hz. Yeah, you don’t need a higher refresh rate to program but it makes daily desktop use SO much more pleasant for me.
There are some high refresh rate 4K 27”s but those are pretty expensive.