Humiliation is poison in a work environment. There is no quicker way to make people resent their jobs, stop interaction, create hate and mistrust and send a signal that "you don't matter".
The problem is that bad managers regard those things as features, not bugs.
I would think the code base suffers as well. I'd tend to avoid code reviews, or at least not actively seek them out, if public humiliation was par for the course.
Well said. Amazing that you would bring on a college grad and blow up on the first mistake. Great way to beat the initiative out of a young kid.