<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>andthennothing.net: Visitor pattern</title>
  <subtitle type="html">&amp;ldquo;first there was a three-legged monkey...&amp;rdquo;</subtitle>
  <id>tag:andthennothing.net,2005:Typo</id>
  <generator uri="http://typo.leetsoft.com" version="4.0">Typo</generator>
  <link href="http://andthennothing.net/xml/atom10/article/143/feed.xml" rel="self" type="application/xml+atom"/>
  <link href="http://andthennothing.net/archives/2004/11/21/visitor-pattern" rel="alternate" type="text/html"/>
  <updated>2005-12-18T03:19:05+00:00</updated>
  <entry>
    <author>
      <name>Jonas Bengtsson</name>
      <email>jonas.b@home.se</email>
    </author>
    <id>urn:uuid:8234307d-23a4-4fb2-a355-9d8bccea9f0b</id>
    <published>2004-11-21T01:20:00+00:00</published>
    <updated>2005-12-18T03:19:05+00:00</updated>
    <title>Visitor pattern</title>
    <link href="http://andthennothing.net/archives/2004/11/21/visitor-pattern" rel="alternate" type="text/html"/>
    <category term="software" scheme="http://andthennothing.net/tags/143"/>
    <category term="design" scheme="http://andthennothing.net/tags/143"/>
    <category term="pattern" scheme="http://andthennothing.net/tags/143"/>
    <content type="html">&lt;p&gt;&lt;a href="http://www.butunclebob.com/'s"&gt;UncleBob&lt;/a&gt; &lt;a href="http://www.butunclebob.com/ArticleS.UncleBob.IuseVisitor"&gt;blog entry about the Visitor pattern&lt;/a&gt; got me thinking. As I&amp;#8217;ve &lt;a href="http://andthennothing.net/archives/2004/11/17/holub-on-patterns"&gt;mentioned&lt;/a&gt;, I need to look into patterns again. I think that I grasp the main rationale behind the pattern, and its benefits. It might be a occupational injury since we use C++ at work, where normally adding interfaces breaks binary compability, but I feel a resistance towards adding an interface that adds little value, no real behaviour. Hmm, I wonder if it&amp;#8217;s a useful pattern or just complicates things (hopefully I&amp;#8217;ll know if I get around to read &lt;a href="http://andthennothing.net/archives/2004/11/17/holub-on-patterns"&gt;Holub on Patterns&lt;/a&gt;).&lt;/p&gt;</content>
  </entry>
</feed>
