I am thinking about switching from Windows to Debian 12 Bookworm
I used Ubuntu in my college for some light programming and felt really happy about it.
I am more interested in switching to Debian 12 than Ubuntu, since the former is really stable. Also, I came to know installing Debian is easier since it supports non free firmware.
Debian is not easier than Ubuntu, the opposite is the case, you have to tinker around with some things to get them work how you want them. Usually you end up with a system which is more suited to your needs and preferences, but you have to put more work into it.
In terms of stability, it's not like Ubuntu LTS Desktop will just break down, I use it way over 10 years and it never end up in a broken state (well it did, but it was my mistake). It's more of a server thing, were you can just install updates without having to fear that something got incompatible.