For software development, the canonical advice consists of excuses that rely on a "Pro" device to be a thin client. Remoting out to a workstation somewhere else defeats the purpose of having an M4 in the tablet itself. I can't even run a VM with native virtualization. A Chromebook with Crostini offers more functionality in this regard.
You are also a consumer in another way: iOS revenue models are optimized for rent-seeking, whereas that is only partially true for macOS - even for Apple itself. As an example, I use Logic on the Mac and I pay for it once - Logic for iPad is subscription based.
I don't hate the idea of the iPad overall - I have an iPad mini I use to read and mark up papers, and it's great for that.