Extending Behavior with the Visitor Pattern: “One common problem involves adding or extending behavior after—sometimes long after—you’ve implemented a class. A similar problem requires you to tack on behavior dependent on the features of a class but that doesn’t belong to that class. Both problems have the Visitor pattern written all over them—and if you implement it, you’ll find that the Visitor pattern provides excellent results.”
(Via DevX: Latest Published Articles.)
Note to self. Read it to figure out if it’s good

Technorati Tags:

Published in: on March 31, 2005 at 6:42 am  Leave a Comment  

The URI to TrackBack this entry is:

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: