Flyweight Design Pattern Explained: How Text Editors Save Memory
Suppose Flyweight Pattern does not exist!
Imagine we are building a text editor application, each time the user types a character, a corresponding object is created to represent that character on the screen.This object contains information like the c...
riteshpanigrahi.hashnode.dev8 min read