Skip to content
#

gang-of-four

Here are 111 public repositories matching this topic...

The aim of this project is to showcase how can one use strategy pattern to describe a bunch of algorithms, put each of them into a separate class, and make their objects interchangeable. In simple words, it allows us to change the algorithm independently without changing the client using it. Strategy pattern can be seen as another name for depen…

  • Updated Jul 24, 2024
  • Java

The aim of this project is to show case how to create types of classes(which originate from an Interface/Abstract class) and create objects dynamically. Otherwise, without factory method pattern, we have to create objects at compile time which increases coupling but also code harder to extend for future requirements. --

  • Updated Jul 24, 2024
  • Java

Improve this page

Add a description, image, and links to the gang-of-four topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the gang-of-four topic, visit your repo's landing page and select "manage topics."

Learn more