Day 4 Lesson Plan
Discussion of inheritance and composition
OOP Extension mechanisms
Reading
Watch
Function Structure video selected parts
Read
Function Structure notes
Optional read:
Clean Code, chapter 3
Points to get:
How many arguments should functions have?
Why should we avoid boolean arguments to functions?
What does the
stepdown rule
say?
What does the
command-query separation
rule say?
What does the
tell, don’t ask
rule say?
What are function
side-effects
?
What is
temporal coupling
?
Read
Code Smells