Do you think you can work as a programmer only using an iPad Pro? This article shows the answer for a backend developer that managed to set up an infrastructure that works for him and allows him to be efficient with only using an iPad Pro (spoiler: ssh is involved ;-)).
I have also had this idea for a while, not only using ad iPad Pro, but the same concept can be applied to a Chromebook or another thin laptop.
I think it’s a good exercise to do. If you lose your main laptop/desktop, what data would you lose? And also importantly, how much would it take for you to install all the software/data that you need to be productive?
Having the setup described in the article the answers to these questions is that you won’t lose anything (if setup correctly) and it would take only a few minutes to be productive on any machine, and I think this is very powerful.