7. Construction and Design
Contents
7. Construction and Design#
Comments
Coding conventions
Linters
Refactoring
Object Orientation
Design Patterns
Contents#
7.0 Construction (5 minutes)
7.1 Comments (15 minutes)
7.2 Coding conventions (10 minutes)
7.3 Linting (15 minutes)
7.4 Refactoring (25 minutes)
7.5 Object-Oriented Design (15 minutes)
7.6 Class design (25 minutes)
7.7 Design Patterns (25 minutes)
Total time: 2 hr2 15 minutes
Exercises#
A classroom exercise is included at the end of the module: 7.8 Exercise: Refactoring The Bad Boids. We recommend that instructors arrange for the exercise to be done in groups. The exercise can also be left as a self-paced homework assignment if preferred.