Structural Design Pattern

Flyweight Design Pattern

3 years ago Lalit Bhagtani 0
According to GoF (Gang of Four), flyweight design pattern intent is: “Use sharing to support large numbers of fine-grained objects efficiently” Flyweight design pattern is used when a program need to create huge¬†(usually in thousands or in millions) number of objects of a Class that share (similar) some state among them. By using this design Read More