Questions and notes from workshop day 9

Icebreaker

Modular code development

Materials:

Add your questions and comments here:

  1. ...
  2. ...
  3. ...

:::info

Exercise: two tracks (below), until xx:42

https://coderefinery.github.io/modular-type-along/exercise/ You have twenty minutes to either do the discussions below, or try to modify and modularize the code yourself. We'll return

:::

Discussion track

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?

Coding Track:

https://coderefinery.github.io/modular-type-along/exercise/#coding-track

What are you trying to do:

:::info

Break until xx:03

Then live coding to make our example modular :::

Making our notebook more modular

Example solution (we don't have to do what is here in this order, you can make other suggestions): https://coderefinery.github.io/modular-type-along/solution/

Ideas to do (please give us suggestions):

:::info

Break until xx:08

Let us know what you would like to discuss: :::

Feedback

:::info Today we have discussed how to make a simple script more modular and reusable.

This is the last lesson of the workshop!

So we ask you for feedback not only on this last lesson, but also on the whole workshop.

Do not forget: you can ask more questions in https://coderefinery.zulipchat.com :::

For Today

Today was ... (vote for all that apply): Speed:

Level:

Usage and recommendation:

One good thing about today:

One thing to improve for next time:


Funding

CodeRefinery is a project within the Nordic e-Infrastructure Collaboration (NeIC).

Privacy

Privacy policy

Follow us

Contact

support@coderefinery.org

Improve this page

Source code