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.
Currently covered:
- Factory Pattern —
src/main/kotlin/factory - Builder Pattern —
src/main/kotlin/builder - Prototype Pattern —
src/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.
src/main/kotlin/Main.kt— entry point to run the demossrc/main/kotlin/factory— Factory implementation + examplessrc/main/kotlin/builder— Builder implementation + examplessrc/main/kotlin/prototype— Prototype implementation + examples
./gradlew run