Depends on how you do your coding, and your expectations.
The glasses claim a 1080p screen, but realistically with text, you gotta scale it up to be more like a 720p screen.
If 1280x720 is good enough to code on for you, then you're fine, and it's certainly fine for some (e.g. I think some of my co-workers have vision problems so they set the font to be mega large, but code just fine).
Long answer: Vision Pro (if you are comfortable with the weight/price). Immersed Visor and Play for Dream Mr headsets are likely the first available coding VR headsets at reasonable prices but this will all be commodities very soon.
Your best bet is to resist being at the cutting edge for this year and pick up the winner after the next 11 months
Immersed and PFD are smaller companies releasing their first hardware; yes they've missed their initial estimated ship dates but they have actual working prototypes that have been tried by users (e.g. PFD had a booth at CES). The only question is if they can ramp up manufacturing. I expect them to have shipped their preorders by March and then we'll find out if they can scale.
HOWEVER my timeline suggests that you wait until the end of the year. The 4K per eye panel is now a commodity [1] and I expect a lot of VR glasses to show up in the next few months. Don't be tempted by the first few unless you have the budget for the cutting edge. Immersed is pushing their subscription software and requires a companion app on the host device. PFD is offering an Android Vision Pro clone. There are a couple PCVR (gaming) headsets coming. For coding though, the ideal is probably a simple headset with plug-and-play video input (i.e. like a high-res Slamglass [2] or GOOVIS art [3]). It's worth waiting in my opinion to see if anyone uses the panel for that.
I code a lot on these. They're amazing on planes and trains as advertised, but I also spend a lot more time coding outside because they don't have the glare issues of a laptop screen.
Fonts render at whatever size you tell them to. That doesn't change.
I have the Viture not the Xreals, but anyways... my experience:
I do find that there's significant optical aberration that makes text more blurry towards the edges. I also have astigmatism; not a deal-breaker but it means the built-in myopia adjustment only partially corrects my vision. I basically got contacts again just so I can use these a bit better. But it still feels less clear than a regular screen with glasses or contacts. Doable but not great for text.
I don't know about Viture, but the XReals come with a prescription lens attachment clip. I've got a set. It would be unusable without it, but even then the screen is only really great towards the middle of the field.
In theory the hardware has a motion tracker that lets you freeze the screen in space and pan around it by moving your head, which would be a huge win, but the current iteration needs an external dongle to do that which I don't have.
I'm going to upgrade to the next version purely because that's going to be built in (along with some other niceties).
This Steam Brick is right up my alley, although I'm wondering if you could do something just as slick with Framework guts. I haven't fired up Steam in a while.
They are very good for your neck, though.