It really depends.
The convenience of something like apt for quickly assembling or installing your machine with all software automatically updated is hard to beat. Mac OS also tends to ship with older versions of software and rarely gets newer versions without a full OS update - meaning they will get older and older with time.
OTOH, there are many scenarios where a Mac is the only option. Any development for iPhone or Mac is painful on other platforms.