Re:“Design Patterns” Aren't (2002)
by fusiongyro on Wednesday November 02, 2016 @06:08PM
(#12859855)
It says so in GoF. The example in the book is having an object represent each character on the screen. You don't want to pay the overhead of an object for each byte in a file, so you use flyweight to share all the instances of each character.
[ Parent
| on HN ]
There are no comments on this comment yet.