Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dws (341)

  (email not shown publicly)

Journal of dws (341)

Thursday April 17, 2003
12:14 PM

Design Patterns revisited, sort of

[ #11706 ]
My copy of Design Patterns is in the bathroom reading stack. I've been slowly re-reading a few patterns, and have been surprised at what I missed the first time through, or the misinterpretations I came away with.

One misinterpretation was that Flyweight objects are necessarily small. Nope. It suffices that they contain only intrinsic, immutable state, and that the client pass in extrinsic state to perform whatever operations need it. Pattern title aside, there's nothing in the pattern that dictates size.

The XSLT Cookbook is bedside, and continues to boggle and amuse. People complain that Perl is complicated? Sheesh.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.