An open API service indexing awesome lists of open source software.

https://github.com/dimanu-py/design-patterns

Explanation of different design patterns
https://github.com/dimanu-py/design-patterns

design-patterns java learning-by-doing python

Last synced: 9 months ago
JSON representation

Explanation of different design patterns

Awesome Lists containing this project

README

          

# Design Patterns

[![Python](https://img.shields.io/badge/Python-3.11+-yellow?style=for-the-badge&logo=python&logoColor=white&labelColor=101010)](https://python.org)
[![Java](https://img.shields.io/badge/Java-17+-orange?style=for-the-badge&logo=java&logoColor=white&labelColor=101010)](https://www.oracle.com/java/)

## Project

This repository contains a collection of design patterns that I'll be learning. The main objective is to implement each design pattern using Python and Java to see the differences and gain a deeper understanding of the concept of each design pattern.

The project will have one folder per design pattern. Each folder will contain the following files:

* **README.md**: it should explain the design pattern, with the class diagram and key aspects of the design.
* **python**: implementation of the design pattern in Python
* **java**: implementation of the design pattern in Java

## Patterns covered

1. [Command Pattern](https://github.com/dimanu-py/design-patterns/tree/main/command_pattern)
2. [State Pattern](https://github.com/dimanu-py/design-patterns/tree/main/state_pattern)
3. [Strategy Pattern](https://github.com/dimanu-py/design-patterns/tree/main/strategy_pattern)

## Resources

![Python](https://img.shields.io/github/stars/python/cpython?label=Python&style=social)
![Java](https://img.shields.io/github/stars/openjdk/jdk?label=Java&style=social)

* Language: [Python](https://www.python.org/) & [Java](https://www.oracle.com/java/)
* Main source: [Head First Design Patterns Book](https://www.amazon.es/First-Design-Patterns-Brain-Friendly/dp/0596007124)

### Visit my GitHub profile for more projects 🚀

[![Web](https://img.shields.io/badge/GitHub-Dimanu.py-14a1f0?style=for-the-badge&logo=github&logoColor=white&labelColor=101010)](https://github.com/dimanu-py)