Memento Prática - Padrões de Projeto - Parte 32/45

Let's learn the practical application of the Memento pattern. This pattern aims to capture and externalize an object's internal state without violating encapsulation, so that it can later be restored to this state. See the theoretical part at:    • Memento Teoria - Padrões de Projeto - Part...   In this playlist, we're discussing the Gang of Four (Gof) design patterns. These patterns were cataloged in the 1990s and are extremely relevant today in any programming language. The original book is called "Design Patterns: Reusable Object-Oriented Software Solutions" and can be purchased at https://amzn.to/32nciKC The categories of design patterns are: creational, behavioral, and structural. The patterns for each category are as follows: Creational: Abstract Factory, Builder, Factory Method, Prototype, and Singleton. Structural: Adapter, Bridge, Composite, Decorator, Façade, Flyweight, and Proxy. Behavioural: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor. Playlist link (I'll try to upload one or two videos per week):    • Padrões de Projeto (Design Patterns - GoF)...   Project link on Github: https://github.com/luizomf/design-pat... Python and JavaScript/TypeScript courses with a discount: https://www.otaviomiranda.com.br/2017... Twitter:   / otaviomirandabr   #designpatterns #designpatterns #typescript