全栈开发之设计模式英文面试

Design Patterns

make sure you are able to speak confidently on the interview questions


Tutorial Website:

https://www.tutorialspoint.com/design_pattern/design_pattern_interview_questions.htm


three categories

Design patterns can be classified in three categories: Creational, Structural and Behavioral patterns.

  • Creational Patterns - These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new opreator. This gives program more flexibility in deciding which objects need to be created for a given use case.

  • Structural Patterns - These design patterns concern class and object composition. Concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities.

  • Behavioral Patterns - These design patterns are specifically concerned with communication between objects.


你可能感兴趣的:(全栈)