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.
I’ve been running Deb 12 on my laptop for a year and a half and it’s good. The one issue I have had is directly related to being on brand new hardware that wasn’t supported yet by the kernel. Before that I ran 9, 10 and 11 with zero issues on laptops and desktops.