Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.04 KB

File metadata and controls

33 lines (21 loc) · 1.04 KB

Design Patterns (Kotlin)

A curated Kotlin/JVM codebase that demonstrates classic software design patterns with clean, runnable examples.

Even with senior-level experience, design patterns are something you revisit often—this repository captures that refresher work in a structured way and makes it public so others can benefit from it too.


What’s inside

Currently covered:

  • Factory Patternsrc/main/kotlin/factory
  • Builder Patternsrc/main/kotlin/builder
  • Prototype Patternsrc/main/kotlin/prototype

Each pattern is grouped in its own package and includes a dedicated README within the module/folder for deeper explanation, intent, and usage notes.


Project Structure

  • src/main/kotlin/Main.kt — entry point to run the demos
  • src/main/kotlin/factory — Factory implementation + examples
  • src/main/kotlin/builder — Builder implementation + examples
  • src/main/kotlin/prototype — Prototype implementation + examples

How to run

Using Gradle

./gradlew run