Went through a long internal debate last summer, before choosing a mini (+LG 27" screen) over iMac.
And I kinda regret it a bit.
For one, I couldn't get a webcam/microphone working without it picking up echo/reverb-whatever you call it,
works fine on a PC, can't get it running with the mini. Same thing with two different webcams. Something that'd have just worked with iMacs internal stuff.
Don't need hi-fi audio, but mini's internals don't cut it, the JBL USB speakers I got work on and off with the mini,
rubbish drivers whose mac support seems to have ended 15 minutes after I got them. Again, imac's internals would have been fine (at least were fine enough on my previous imac.
What turned me away was the 16GB max ram in iMac, that'd be fine just now, but won't be a few years from now and is not upgradeable. The same applies to mini, but at least there I can just replace the mini, keeping the monitor, external SSD's and other stuff. A second consideration was the way I lost the previous iMac to display failure, other internals would have still been fine.
A reason to applaud the Studio, btw, 32GB minimum is downright sensible and as un-apple-like as I've seen.