I think it really depends on filtration, and how experienced you are with fish keeping, I've been keeping only coral 10 gallon tanks for a while now and
IMO 10 gallons should be reserved for only coral/inverts. This being said some people keep small gobies in 10 gallon tanks, I just feel that a larger tank is required, just my opinion