Questions and notes from workshop day 6

Icebreakers

Automated testing: motivation

https://coderefinery.github.io/testing/motivation/

Vote in the notes and we’ll discuss soon. It is always a balance: there is no “always”/”never”.

  1. Jupyter or R Markdown notebook which produces a plot and you know by looking at the plot whether it worked?
  1. A short, “obviously correct” Python or R script which you never intend to reuse?
  1. A simple short, “obviously correct” shell script?

Testing locally

https://coderefinery.github.io/testing/pytest/

Automated testing

https://coderefinery.github.io/testing/continuous-integration/

Test design

https://coderefinery.github.io/testing/test-design/


Modular code development

https://coderefinery.github.io/modular-type-along/ This is purely a demo: watch and give suggestions

Questions: A. What does "modular code development" mean for you?

B. What best practices can you recommend to arrive at well structured, modular code in your favourite programming language?

C. What do you know now about programming that you wish somebody told you earlier?

D. Do you design a new code project on paper before coding? Discuss pros and cons.

E. Do you build your code top-down (starting from the big picture) or bottom-up (starting from components)? Discuss pros and cons.

F. Would you prefer your code to be 2x slower if it was easier to read and understand?

Below here, ask and give us suggestions what we should do with the code

https://coderefinery.github.io/modular-type-along/lesson/

Done

Discussion/questions

Maybe we didn't do this (for time) but these were good ideas

Suggestions/questions to presenters

("done" suggestions moved up to make it easier for presenters to read what is left to do)

What do you think is better for sharing software:

One resource, not sure if has been mentioned, is The Turing Way online book: https://the-turing-way.netlify.app/index.html

Also some good stuff at Software Carpentry: https://software-carpentry.org/

Discussion

What are the benefits?

What else could be done?

AI and code

Outro

https://github.com/coderefinery/workshop-outro/blob/master/README.md

Feedback

Today was:

One good thing about today:

One thing to improve for next time:

Any other feedback about the overall workshop?


Funding

CodeRefinery is a project within the Nordic e-Infrastructure Collaboration (NeIC). NeIC is an organisational unit under NordForsk.

Privacy

Privacy policy

Follow us

Contact

support@coderefinery.org

Improve this page

Source code