carpentries-lab / python-aos-lesson

Python for Atmosphere and Ocean Scientists
https://carpentries-lab.github.io/python-aos-lesson/
Other
88 stars 50 forks source link

Update defensive episode to encourage re-use #54

Closed znicholls closed 4 months ago

znicholls commented 2 years ago

@DamienIrving I'm not sure what you think about this, but parsing inargs to main means that main can't be re-used elsewhere (one of the students tried to copy things to a notebook and then run things). If we changed the pattern a bit (suggestion here but not the only way) then code re-use might be simpler (and we could document main).

DamienIrving commented 4 months ago

Closing this pull request as I can't have any open PRs when commencing the transition to the Carpentries Workbench.