They are great for watching video, make for a fantastic travel accessory, and one can use them for coding in a pinch, but I honestly couldn't find a good reason to, when I have a perfectly good MacBook Pro screen right in front of me.
I would definitely pay more for glasses that would allow me to have a better virtual computer display. Perhaps not $3500, but $2000? The main reason why I didn't even consider Apple Vision Pro is because of its humongous size, weight and complexity — I don't want another computer with another (locked down) OS requiring updates and maintenance. I want things that do not require anything of me. This is why XReal glasses are so nice: they are just a display. No battery, no OS, no maintenance.
EDIT: Just to clarify, I am very happy with the Xreal One Pro purchase. They provide excellent value. They are light, they are small, I can toss them in a bag to have a private display whenever I need. They are fantastic for travel and overall provide a great value. I would highly recommend them. Just don't expect them to be a better screen than your laptop screen for coding.