Design PatternsLaajuus (5 cr)
Course unit code: TX00EY29
General information
- Credits
- 5 cr
Objective
The student
• is familiar with the most common object-oriented design models (Gamma's models) and their significance in the design of reusable software
• understands the importance of interface thinking in the design of object-oriented software and acquires tools for implementing both structurally and functionally sustainable solutions.
Content
Gamma's creational, structural and behavioral patterns, paying particular attention to the following aspects:
• the relationship between application frameworks and design patterns
• programming against interfaces (or abstractions)
• inheritance and aggregation as reuse options
• delegation as an implementation mechanism for service provision
• the importance of creational patterns as an enhancer of code reusability
• abstract classes as enablers of shared code
• the difference between the traditional control flow and the inversion of control
• shared objects as a resource-saving mechanism
• centralised vs. decentralised decision making
• tight vs. loose coupling of objects
• push and pull models as communication technologies in object communication
• deep copying vs. shallow copying of objects.
Qualifications
Object-oriented Programming
Assessment criteria, satisfactory (1)
The student knows the best practices of programming and can explain why design patterns are needed and knows the different patterns.
Assessment criteria, good (3)
The student is able to apply programming best practices and use design models in programming.
Assessment criteria, excellent (5)
The student can apply best practices in programming and use design models extensively in programming.
Assessment criteria, approved/failed
The student knows the best practices of programming and can explain why design patterns are needed and knows the different patterns.