Very often it's not a choice, a lot of companies only let developers choose between Windows or MacOS laptops for work.

Sure, but I see a lot of devs who have MacOS as their personal laptop and then complain about something in MacOS that is a non-issue in Linux.