3 Live code early and often
Think back to your last math heavy course, one with proofs or problems that required multi-step solutions. Did you prefer to see all steps at once or prefer that the instructor walk through the steps at a reasonable pace, revealed them incrementally, and talked through their reasoning? I’m guessing the latter. Live coding is just like that, except with code instead of math. Raj et al. (2018) is just one of the many papers that suggests that live coding is the most effective way of teaching programming. But, of course, just like any effective pedagogy, implementation details matter for learning and enjoyment of your learners.
3.2 More resources
Live coding chapter in Teaching Tech Together by Greg Wilson, in English and in Spanish
Code live from RStudio, and share it with the World in real time by H. Antonio Vazquez Brust
Inspiration: Julia Silge’s live coding videos