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.
Stable just means no major version jumps in software that might break your current setup. That's important for operating servers, not desktops.
I use debian Sid (unstable) at work and never had problems. Most of the time I get updates prior to other distributions I am using.
At home I use arch (derivates, manjaro), with great success.
I would abstain from Ubuntu. There, I had problems, it is very opinionated and not in s good way.
In a general sense I would always chose a distribution that isn't too locked in to a certain desktop environment and provides updates, quickly.