I think there is gaps on both sides. University doesn't prepare you for the actual work, but self taught doesn't prepare you for the foundational concepts and algorithms.
The most important thing is the willingness to learn. Our field changes a lot, so people should expect to be learning new things.
I believe real world experience helps more than the a degree.