It's the best for a primary OS, but unfortunately you if you make apps or desktop programmes you will probably still need a windows machine, or a Mac, or both. For me I have a windows VM and an old modded mac for those OS's.
Though interestingly probably the best machine for cross platform development would be a new-ish tri booted intel Mac with Linux as your main OS.
Edit: just for the record I use a Thinkpad T430 as my main work computer.
But yeah the way development tools like git just integrate perfectly into the OS is amazing, and the way you can get tools and libraries just by asking your package manager for them is invaluable.
Why do you need Windows VM for developing GUI apps? Last time I used Visual Studio to make GUI app I almost gave up programming, because of how code-generation dependent it was.
For C# you have AvaloniaUI. For cpp you have countless multi-platform GUI toolkits, same for rust, Java has its own toolkits (multi-platform), and finally you can make an Electron/Tauri app.
Windows 11 may be the king of operating systems, but Linux is the better alternative for programming
In what world? I've just started using it at work, and I swear the other day it tried to sell me an XBox controller. Not like I was on the Web and an ad popped up, no. It was part of the operating system!
Can you imagine going back in time 10 years and telling somebody "In the future, Microsoft is going to put pop-up ads in Windows." People would think you were crazy!