nic-dgl104-winter-2024 / pattern-library

A multi-language library containing implementations of common software design and architecture patterns
4 stars 37 forks source link

Add Kotlin implementation for Template pattern #65

Closed ting-dev-coder closed 6 months ago

abhiram-shaji commented 8 months ago

@ash-teach @ting-dev-coder I would love to work on this, my idea is to create a template method pattern with a similar structure as that of the existing singleton pattern.

  1. I plan to create an abstract class, NameProcessor, with a template method and steps that will be implemented in the subclass.
  2. Then a subclass which will consist of the implementation of those steps in the abstract class.
  3. Finally, a main method to demonstrate the template pattern.
ting-dev-coder commented 6 months ago

closed this as completed in #89