I’m using both an iPad Pro and a MacBook Air and iPadOS is more modern and more fun to use in literally every way. I will ditch the Mac immediately when Swift Playgrounds on iPadOS reaches parity with Xcode. That will probably be 5-10 years from now.
I honestly believe that Apple wanted to relegate the Mac to be a platform for legacy apps and Xcode but they realized they were getting ahead of themselves. They needed to cater to developers, of course so they began the focus on the Mac again around 2015-2016 and now here we are …