While I’m sure there are differences between teaching in the UK and Australia, what I wrote might be giving you a false impression. Most of what you said there is pretty similar to here. 90% of my teaching course was pretty similar to what you are saying here – never use punishment, punishment is a last resort, it’s a sign you’ve failed to control the class, there are better ways to handle misbehaviour than punishment, misbehaviour is nearly always the teachers fault for not making the class interesting.
But the last 10% involved lecturers who were actually experienced teachers and who were trying to teach us the practicalities of teaching, not just particular theories. That’s the part where we got the advice on using whole class punishments.