Design Patterns revisited, sort of

dws on 2003-04-17T17:14:16

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.


People complain that Perl is complicated?

broquaint on 2003-04-18T13:37:30

<rhetorical> Ah, but can Perl do this? </rhetorical>

Thanks to darobin for the link