For programmers, there's very little incremental gain by going from 4k/32" to 6k/32". I've tried both and there's a limit to how small the text can be, but then I'm kinda middle aged.
For graphics work, of course the answer might be different and I'm no expert. Personally I think screen size does matter, and I've noticed a fair improvment going from 28 to 32.
I’m a software engineer (or well, was since I’ve moved on) and a single Pro Display XDR was hands down the best display I’ve ever used for productivity and programming work. It’s night and day and going down to 4K at 27” or 32” is extremely painful not just from a clarity standpoint but for the amount of space. With the XDR I was basically able to have nearly full-width browser viewports on half the screen and the ide on the other half.
With 4K it feels like I have to do a lot of tabbing between apps on a single monitor.
But I get people’s experiences obviously vary since display preferences are extremely subjective and overall it seems like the 27” 5K and 32” 6K fans are in the minority.