Skip to content

Adapter design pattern - Improvements in design #164

@Shekharrajak

Description

@Shekharrajak
  1. Get rid of all switch blocks and replace it with modules, enum
  2. Use Composite design pattern as much as possible
  3. For each new functions have a module so that only relevant methods can be extended into classes

Refer Dependency injection and better ways to have constructors when the arguments are more than 5 - most of them are optional - what design you should be choosing ? (Hint use Builder for creating objects)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions