Each has its advantages and disadvantages. For convenience docking is number one but the drawbacks are as Rick mentioned. The cost of docking has become really restrictive for a lot of folks. Check your local marina.
With mooring you have to use a tender
(dinghy) to get back and forth, no shore power
cable, no phone
hookup or cable TV. Shuttling your friends back and forth sometimes is a big hassle. If you are the least bit reclusive then it is ideal. The further from shore the better.
I once had a slip at a dock
and a very small boat. I could step aboard, unplug my extension cord, raise the mainsail
, untie the docklines and push off for a sail in about 15 minutes. I got a lot of after work sails
in before I went to a bigger boat where it took 45 minutes and a running engine
to get off the dock
Hope this helps.