Just switch to Linux ... In Gnome just hit Windows+Right or Windows+Left it does exactly what you want. Install some Gnome plugins if you want 2x2 or 3x2 or other custom tiling.
I genuinely don't get why so many devs use MacOS when Linux is already set up for devs, and the stuff you run in the cloud will also run locally with 1/100 the SSH keyboard latency.
Very often it's not a choice, a lot of companies only let developers choose between Windows or MacOS laptops for work.
Sure, but I see a lot of devs who have MacOS as their personal laptop and then complain about something in MacOS that is a non-issue in Linux.