I just read a great post by Jessica Duarte on teaching beginners to code. It is all so true. Especially #5, making mistakes:
You [the instructor] have to ride out the mistakes. Make them often. Let the class fix them.
It’s essential for students to see and experience the process of working through mistakes. Right now, I am starting to use git and Github for our manakin research at the Smithsonian. A major benefit is that it allows us to make mistakes safely.
Duarte is organizing the 2017 National Learn to Code Day on Intro to Machine Learning and Artificial Intelligence. I look forward to helping out with the Ottawa chapter in on September 23!