Js Design Patterns Flashcards

1
Q

Design patterns

A

Design patterns are solutions to commonly-occurring problems in software design, such as writing JavaScript web applications. They can also be considered as templates that can be used to solve various issues in different situations.

  • They provide one of the best solutions as they have been derived and optimized by various experienced programmers over time. You can be certain that these solutions are correct and efficient.
  • They are generic templates that can be modified and used for solving different problems.
  • They can provide a clean and elegant solution to a large problem by avoiding repetition in code.
  • They provide a template on which the developers can build upon. This allows developers to spend less time on code structure and more on the overall quality of the solution.
  • Since design patterns provide optimal solutions, they reduce the size of the codebase.

Creational design patterns
Structural design patterns
Behavioral design patterns
Architectural design patterns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly