In case of the hidden variables, the spin is a (3-dimensional?) value that is identified by the measurement result. In case of quantum theory we have have a probability distribution. How is that probability distribution different from a hidden variables, except that it's not a straight number but a function instead?
Speaking as a programmer, is the difference between hidden variables and quantum mechanics that the former postulate a real-valued property whereas the latter speak of something like a monad?