Back in my highschool there was an intro to programming course and no teacher, so every year one of the math teachers was recruited to take it over the summer and teach the class the next year. The best one was the geometry teacher, who kinda took the lazy route - she was the one I found out about this scheme from, and was totally willing to admit when she didn't know something.
She ended up encouraging students to help each other and was extremely lax with the rules, resulting in: two or three of us who wandered the classroom to help others, one showoff who kept people interested in what they could create (one example, in the classroom he made a chat program and gave everyone a copy, then weeks later activated a hidden feature that popped open the CD tray of everyone using it, which turned out to be about half the students), and another who joked about using the "blackboard compiler" - we somehow got one more student than computers so he volunteered to go without, and did his work in chalk on the blackboard (yes, where everyone could see it, and the teacher was in the room and knew what he was doing), only actually coding it once someone else was done and a computer freed up.
Some people did get frustrated at times, but it never lasted long because of how she encouraged us to help each other for all the work. Only during tests was she strict.