<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://luminoussheep.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Patterns</id>
	<title>Patterns - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://luminoussheep.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Patterns"/>
	<link rel="alternate" type="text/html" href="https://luminoussheep.net/mediawiki/index.php?title=Patterns&amp;action=history"/>
	<updated>2026-04-16T20:37:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://luminoussheep.net/mediawiki/index.php?title=Patterns&amp;diff=38&amp;oldid=prev</id>
		<title>Martin: Created page with &quot;== Strategy Pattern == Where algorithms are chosen at runtime  Image:strategy.png  == Visitor Pattern ==  Separate algorithm from structure  Allows adding new methods to e...&quot;</title>
		<link rel="alternate" type="text/html" href="https://luminoussheep.net/mediawiki/index.php?title=Patterns&amp;diff=38&amp;oldid=prev"/>
		<updated>2021-09-14T21:16:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Strategy Pattern == Where algorithms are chosen at runtime  &lt;a href=&quot;/mediawiki/index.php/File:Strategy.png&quot; title=&quot;File:Strategy.png&quot;&gt;Image:strategy.png&lt;/a&gt;  == Visitor Pattern ==  Separate algorithm from structure  Allows adding new methods to e...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Strategy Pattern ==&lt;br /&gt;
Where algorithms are chosen at runtime&lt;br /&gt;
&lt;br /&gt;
[[Image:strategy.png]]&lt;br /&gt;
&lt;br /&gt;
== Visitor Pattern ==&lt;br /&gt;
&lt;br /&gt;
Separate algorithm from structure&lt;br /&gt;
&lt;br /&gt;
Allows adding new methods to existing structure&lt;br /&gt;
&lt;br /&gt;
Limitation:&lt;br /&gt;
* concrete visitor tied to what concrete elements exist&lt;br /&gt;
* adding a new concrete element =&amp;gt; modifying all visitor algorithms &amp;amp; creating new concrete visitor&lt;br /&gt;
&lt;br /&gt;
[[Image:visitor.png]]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
</feed>