Hi! π I'm learning Object-Oriented Design Patterns using Java. This repository is my personal learning lab where I:
- π¨βπ» Implement each design pattern from scratch
- π Understand the real-world use case for each pattern
- π§ Learn to write clean, reusable, and maintainable code
This repo will gradually include examples from all three main categories:
- Creational (e.g., AbstractFactory, Builder, Factory, Prototype, Singleton)
- Structural (e.g., Adapter, Bridge, Composit, Decorator, Facade, Flyweight, Proxy)
- Behavioral (e.g., Chain Of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template, Visitor)
Each folder contains:
- β Java source code
- β Comments explaining the flow
- β A mini real-world analogy (when possible)
By the end of this project, I want to:
- Deeply understand design patterns
- Be interview-ready for Java developer roles
- Write better architecture in real-world projects
To supplement my learning, Iβm referring to these excellent resources:
- π DigitalOcean Java Design Patterns Tutorial
- π Refactoring Guru β Design Patterns in Java
- π Source Making
- π Open Source Java Design Patterns
β Feel free to explore and suggest improvements!