Week 9: Clean Code (QA)

Goal

This week’s goal is to learn by doing, practice clean code, design, and refactoring patterns on real code while internalizing the concepts and your team’s own coding commitments.

Expected Results until this Week

We will discuss expected results during the class on this week. So please make sure to be prepared! More about penalty and bonus points
  • Your team’s repository already contains working source code with identifiable modules or features.
  • You can point out which parts of the system are at least structurally implemented, even if not yet polished or complete.
Title Duration
From Create to Maintain 30 minutes
When and How to Refactor 30 minutes

Notes for tutors: 

1: From Create to Maintain (30 minutes)

Why is this useful for me?

Things you learn and experience in this session will help you to solve the following tasks:

Background

Activities

  • Discuss what "WTF/min" and "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler)
  • Explain which Zen of Python points are most relevant to you personally? Discuss it with the tutor and other students.
  • Write one sentence that expresses how you want future developers to feel when they read and work with your code. It should be just one sentence starting with “I wish future developers feel…” to express and justify the emotion or impression you want your code to inspire. Discuss it with the tutor and other students.
  • SE Bang! role-playing game

2: When and How to Refactor (30 minutes)

Why is this useful for me?

Things you learn and experience in this session will help you to solve the following tasks:

Background

Activities