I think the biggest difference is that if something goes wrong, the availability and simplicity of documentation is way worse than Windows/Mac for the most part. The upside is that sometimes the level of access you have to bits and pieces lets you fix stuff that wouldn't be possible on other platforms. For the average user that's pretty irrelevant, though.
I don't really buy the general concept that Linux is boobytrapped any more than other OSes.
Have you tried blocking software and websites?
In Ubuntu, you will need to turn off their App Store equivalent, then nothing else disturbs me when I don't want it.
Meanwhile, Windows 10 actively tries to sabotoge your life.
Also, try a Raspberry Pi. Most websites are so painfully slow that is it's not feasible to use, plus Pi should be enough for most coding.
[1] Need to turn Messages off in notifications, but there are times I do want to be notified - major pain keep having to go into settings instead of just turn on or off the app.