Gang Of Four
Everything on SkillVeris tagged Gang Of Four — collected across the glossary, study notes, blog, and cheat sheets.
14 resources across 1 library
Interview Questions(14)
What is the Decorator Pattern?
The Decorator pattern attaches additional responsibilities to an object dynamically by wrapping it in one or more decorator objects that share the same interfa…
What is the Facade Pattern?
The Facade pattern provides a single, simplified interface that hides the complexity of a larger subsystem made of many interacting classes, so clients can acc…
What is the Flyweight Pattern?
The Flyweight pattern minimizes memory usage by sharing immutable, common state across many similar objects instead of storing that state redundantly in each i…
What is the Proxy Pattern?
The Proxy pattern provides a surrogate object that implements the same interface as a real subject and controls access to it, allowing extra logic such as lazy…
What is the Chain of Responsibility Pattern?
The Chain of Responsibility pattern passes a request along a chain of handler objects until one of them decides to process it, decoupling the sender of a reque…
What is the Command Pattern?
The Command pattern encapsulates a request as a standalone object, bundling the receiver, the action to invoke, and its parameters, so callers can issue, queue…
What is the Interpreter Pattern?
The Interpreter pattern defines a class-based representation of a language’s grammar, using an object structure where each grammar rule is a class, and an inte…
What is the Iterator Pattern?
The Iterator pattern provides a standard way to access the elements of a collection sequentially without exposing its underlying representation, using a separa…
What is the Mediator Pattern?
The Mediator pattern centralizes communication between a set of objects into a single mediator object, so those objects (colleagues) interact only through the…
What is the Memento Pattern?
The Memento pattern captures and externalizes an object’s internal state so it can be restored later, without violating encapsulation by exposing that state’s…
What is the State Pattern?
The State pattern is a behavioral design pattern that lets an object change its behavior when its internal state changes, by delegating state-specific logic to…
What is the Template Method Pattern?
The Template Method pattern is a behavioral design pattern where a base class defines the fixed skeleton of an algorithm in a single method, deferring specific…
What is the Visitor Pattern?
The Visitor pattern is a behavioral design pattern that lets you add new operations over a fixed set of related classes without modifying those classes, by mov…
Creational vs Structural vs Behavioral Patterns
Creational patterns control how objects are constructed, structural patterns control how classes and objects are composed into larger structures, and behaviora…