coderefinery / modular-code-development

Modular code development lesson.
Creative Commons Attribution 4.0 International
3 stars 4 forks source link

Introduce the concept of a "call tree" #17

Open bast opened 4 years ago

bast commented 4 years ago

I think it would be useful to have a slide where we introduce the call tree and as an exercise/discussion let participants visualize (part of) the call tree for their code/script.

This would make it easier later to discuss where in the call tree to keep the state and do I/O and where to try to maintain purity.

(I realized this while drafting instructor guide which I should have done long time ago)