If you are a programmer and are looking for more workspace (more pixels), for the moment I don't recommend this LG 5k2k, maybe if you use it together with another display via hdmi port .
As reported in previous posts, with this M1 we do not get the highest possible resolution in HiPDI (retina mode). At the moment it stops at 3008x1269. Theoretically we could have in retina mode maximum 3440x1440, unfortunately however not supported at the moment.
I don't know if it's a software bug of this display and the Mac M1 or if it's a limitation of the M1 (for me it's the latter). Maybe in the future it will be fixed.
What I can recommend is to buy two 4k displays and use them in retina mode with "UI looks like" = 2560x1440.
Believe me, you will see very well, certainly not at the levels of the 5k iMac but certainly much better than a display with native resolution of 2560x1440 (non 4k).
I can confirm this because at the moment I am using with this Mac M1 one 4k display via Hdmi and one 5k2k display (ultrawide), both from LG.
Here attached I leave you a screenshot of my screen with ultrawide 5k2k display with "UI looks like" = 3008x1269, so you get an idea of how well the tesxt look.
I don't know if you will see it at the highest resolution attached. Maybe it will be compressed? Let me know if it doesn't look good, at most I can upload the original file to google drive.
View attachment 1676949