Main things are:
1. Use light mode not dark mode
2. Max out screen brightness (obvs) - there are hacks for HDR displays to make them even brighter but my Macbook is too old.
Coding is fine but anything that requires looking at images (low contrast UI design in particular) sucks. However this probably forces you to design good accessible UIs!
I also use a Quest 3 as a display when I can as that also solves the sunlight problem and gives me a huge virtual display to boot.
The biggest thing I'm lacking is a remote desktop app that doesn't mess with my muscle memory. Keys like escape and alt-tab often aren't handled correctly over remote desktop (Chrome Remote Desktop is the best thing I've found so far but that still doesn't handle alt-tab between Mac and PC)