"the kids know more than the teachers."
My experience is that the kids only think they know more than the teachers. Yes, some kids are a whizz at programming, but get them to write the code in a structured, maintainable and documented way, and they don't have a clue. It's all in their heads. A good teacher will guide those kids, hopefully without the kids getting frustrated at having to slow down a bit.