While Ubuntu and a few others have made great strides in getting things to "just work", OS X is still the king in that regard.
This rather depends on what you want to do. I use both Mac OSX and Ubuntu Linux for development, and I generally spend more time messing around with installations on OSX than I do on Ubuntu.
Macports is rather good, but it's not as integrated with the OS as Apt is for Ubuntu. Installing a package in Ubuntu is generally quicker and comes with more sensible defaults. Daemons are started automatically, and things tend to run straight off the bat. OSX sometimes requires some fiddling to get things to work correctly.
This rather depends on what you want to do. I use both Mac OSX and Ubuntu Linux for development, and I generally spend more time messing around with installations on OSX than I do on Ubuntu.
Macports is rather good, but it's not as integrated with the OS as Apt is for Ubuntu. Installing a package in Ubuntu is generally quicker and comes with more sensible defaults. Daemons are started automatically, and things tend to run straight off the bat. OSX sometimes requires some fiddling to get things to work correctly.