The serious answer is that you get an "it-just-works"⁺ Unix-like operating system that gives you a development experience on-par with Linux.
If you are doing sysadmin stuff: you will not like macOS.
If you care about configuration for your window manager, desktop environment, or systemd services: you will not like macOS.
If you are a graphics engineer or a kernel engineer: you will (probably) not like macOS.
If you are a C++/Rust/Python/JavaScript/Java/mobile/desktop engineer who wants a rock-solid developer environment and doesn't care about the above: you will like macOS.
You get all the Unix tools you could ever want, whatever shell you want to use (Zsh, Fish, even PowerShell), clang/LLVM, etc.
Does that answer your question?
⁺: caveat being "it just works" is getting less and less true with every macOS release.