I think that is just your opinion, and not objective truth. I am a happy debian user, currently forced to use macOS at my current company, and can't say I have a great time developping on a mac. As a web developper, Linux is great: native docker, native linux terminal experience...
I however think this is a personnal opinoin, and I won't argue that Linux is better that macOS. If I has been a macOS user from the start I would have maybe been equally unhappy to be forced to use Linux.
What i'm trying to say is, we are all different people with different tastes and priorities, and I don't think we can objectivly say that one OS is better (or "sucks the least").