Skip to content

RSE-102/design-principles-and-patterns-exercises

Repository files navigation

Design Principles and Patterns Exercises

This repository contains the exercises for the topics design principles and design patterns of the RSE102 course. The corresponding lecture slides for the two topics can be found at sustainable-simulation-software.gitlab.io/design-principles and sustainable-simulation-software.gitlab.io/design-patterns.

Each of the .py files in this repository contains one exercise, for which you can find a description and instructions in the comments section at the top of each file. For some exercises there may be a corresponding file with the suffix _hints.py. This contains hints and code snippets that could help you getting started. Please first try thinking about the exercise without looking at the hints, but use them if you don't know how to proceed.

  • exercise_1.py: Single-Responsibility-Principle (SRP) and Don't-Repeat-Yourself (DRY)
  • exercise_2.py: Dependency Injection
  • exercise_3.py: Adapter Pattern

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages