You can code with the cheapest Chromebook available. Everything can be in the cloud, including your Ryzen desktop via VNC or RDP--linux/Mac or windows respectively. I had a team that did all of its dev work in our VMware internal cloud and then pushed production into the amazon cloud. You can, and I have done, good work on a Samsung Dex based phone plugged into a monitor with keyboard and mouse because you can either use cloud based resources or your own 'internal' cloud based systems via the web.