since there wouldn't be hundreds of different Ubuntu versions and sub-distros
There are no macOS or Windows subdistros. So, the only difference may be between different versions. Adding to that, Apple generally does not have the tendency to replace/rewrite macOS subsystems every few years, so it is much more likely that thing still work after a couple of years.