Coder Social home page Coder Social logo

linuxdevil / design-patterns Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 42 KB

This repository contains examples of the three types of design patterns: creational, behavioral, and structural. Each pattern is implemented in a different programming language to showcase the flexibility and universality of design patterns.

TypeScript 39.90% Java 15.15% Swift 15.21% Kotlin 8.70% C# 11.90% Ruby 4.78% Python 4.37%
behavioral-patterns cohesion creational-patterns design-patterns structural-patterns java kotlin typescript design-pattern factory-pattern patterns strategy-pattern abstract-factory-pattern designpatterns observer-pattern patterns-design facade-pattern momento-pattern state-pattern

design-patterns's Introduction

Design Patterns Repository

This repository contains examples of the three types of design patterns: creational, behavioral, and structural. Each pattern is implemented in a different programming language to showcase the flexibility and universality of design patterns.

Table of Contents

Introduction

Design patterns are a set of reusable solutions to common software engineering problems. They provide a way to standardize and improve the quality of code, making it more maintainable and easier to understand.

This repository contains examples of design patterns implemented in various programming languages, including TypeScript, Java, Ruby, Kotlin, Python, C#, and Swift. Each pattern is organized into one of three categories: creational, behavioral, and structural.

Getting Started

To use the code in this repository, you will need to have the appropriate programming languages and tools installed on your computer. You can find installation instructions and links to download the required software in the README file in each pattern's directory.

To download the code and examples from this repository, you can use git:

git clone https://github.com/LinuxDevil/DesignPattern-Session.git

Design Patterns

Creational

Creational design patterns are used to create objects in a way that is more flexible and dynamic than simply using a constructor.

Behavioral

Behavioral design patterns are concerned with the interactions between objects and how they communicate and collaborate with one another.

Structural

Structural design patterns are used to organize classes and objects in a way that simplifies the relationships between them.

Contributing

Contributions to this repository are welcome. If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them to your branch.
  4. Create a pull request to merge your changes into the main branch of the repository.

design-patterns's People

Contributors

linuxdevil avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.