Monthly Archives: May 2007

Mozart and the Flyweight Design Pattern

One of the few (mostly) true stories presented in Peter Schaffer‘s play and movie Amadeus was when Emperor Joseph II told Mozart that his latest work (Der Entf├╝hrung aus dem Serail ) had “too many notes.” How many notes is too many? Mozart had a great answer. What would a Note class look like? Here […]

Posted in Design Patterns | Tagged , | Leave a comment