Prototype Pattern | Implementation in TypeScript | Software Design patterns series

Опубликовано: 20 October 2024
на канале: Wennovation Academy
271
11

In this video we will dive into one of the most popular software design patterns, prototype design pattern allows you to clone existing objects and reuse all it's properties and values, without reconstructing it from scratch, we will also discuss the shallow copy vs deep copy problem while cloning an object and it's solution in the typescript implementation of a real world example.

00:00 Problem
04:15 TypeScript Implementation
09:47 Introduction to prototype pattern
13:48: Prototype pattern in Typescript
21:38 Shallow Vs Deep Copy Problem

Link to the Code example:
https://github.com/Wennovation-Academ...

Previous videos from design pattern series:

Factory method pattern:
   • Factory Method Pattern | Implementati...  

Creational design patterns and their main objectives:
   • Creational Design Patterns | Introduc...  

Introduction to software design patterns:
   • Software Design Patterns - Why every ...