Skip Menu |

This queue is for tickets about the MooseX-Role-Flyweight CPAN distribution.

Report information
The Basics
Id: 84374
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: MooseX-Role-Flyweight

People
Owner: STEVENL [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.003
Fixed in: 0.004



Subject: update docs to compare to the Singleton pattern
Flyweight objects sound and look the same as the more familiar Singleton design pattern, even down the 'instance' method. It would be valuable to update the docs to explain how a Flyweight object is different from a Singleton object, and the benefits of this approach over MooseX::Singleton: https://metacpan.org/module/MooseX::Singleton
thanks for the suggestion.