The learning goals for Week 40 are:
Mon: Interface Segregation Principle. Private Interfaces. Test Spy revisited. Wed: Theory of roles, responsibility, and protocol. Principles of compositional design. Multi-dimensional variance.
Literature:
Slides:
Notes for this weekplan:
Monday lecture (at 9.15) will cover the ISP and revisit a nice way to use private interfaces to do Unit Testing even if our strategies needs to modify state in our Game object. The topics covered are thus essential for proper solving the mandatory.
Wednesday will be more theoretical discussing the Role concept in great depth and the compositional design principles.
Additional exercises:
16.5 17.5 18.4 19.6Rehearse a test stub exam situation using an exercise in the example exam question set: demo-question-final-2023.pdf.
Next, do a 10 minute presentation at the whiteboard in front of your team.
The team provides constructive feedback on the presentation: Is your presentation clear and understandable, do you discuss the concepts and terms correctly, is you Java example code correct, etc. Swap and ensure all in the team gets a chance to rehearse the situation.
Legend: The typography bold, normal, (brackets), above indicate my perception of how important the exercises are from high to optional. However, solve the mandatory project first!