Coder Social home page Coder Social logo

patterns's Introduction

patterns

So design patterns are one of those language-agnostic concepts you’d come across as a software engineer. They’re basically more reusable solutions to common problems. A good understanding of these design patterns would make it easier to develop more suitable solutions to most problems you’d try to solve as a software engineer.

While building software, there are some problems repeated quite often, and having to rewrite the same code a whole lot of times, to achieve the same thing would not be the most optimal approach, hence the need for packages. In the same vein, many of the problems you’d have to solve have similar patterns that make it easier to approach, and this is why design patterns were created. It’s basically a bunch of tested guidelines that always solve similar problems pretty well.

If you’ve built any software, you’ve probably encountered some of the most common patterns, but a more broad understanding of each design pattern and its use case would help come up with more clever solutions.

Design Patterns are broadly classified into three:

  1. Structural,
  2. Behavioral, and
  3. Creational design patterns.
  • Structural design patterns refer to the patterns that suggest approaches commonly used to compose various classes/objects in solving a problem.
  • Behavioral design patterns refer to the patterns that help to solve problems related to interactions between various classes/objects.
  • Creational design patterns refer to the patterns that suggest approaches commonly used to create objects from a class, based on the behavior required by the object.



Click this for the source

patterns's People

Contributors

sayapakailinuxpak 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.