Fork me on GitHub

Modular type along: Thoughts before the exercise

Overview

Teaching: 5 min
Exercises: 15 min
Questions
  • Are there any common best practices for modular code development?
Objectives
  • Discuss best practices for code development with colleagues
  • Introduce a common strategy for code development

Questions to answer before the exercise

Discussion: Best practice for modular coding

We share these questions in a common HackMD and we wait until we have sufficiently many answers to question 1.

Questions:

  1. What does “modular code development” mean for you?
  2. What best practices can you recommend to arrive at well structured, modular code in your favorite programming language?
  3. What do you know now about programming that you wish somebody told you earlier?
  4. Do you design a new code project on paper before coding? Discuss the pros and cons.
  5. Do you build your code top-down or bottom-up? Discuss the pros and cons.
  6. Would you prefer your code to be 2x slower if it was easier to read it?

Key Points