That's just rude. It makes me think of a parent scolding a child in public, so others can hear.
You don't need to disrespect people to get your point across. Showing respect and explaining why it's important is much better.
If I'm doing something wrong or can improve, please tell me away...