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.
It would be nigh impossible to list all the hardware Bookworm is able to support. What are you looking to run it on? Anything obscure?