<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://159.203.101.162/w/index.php?action=history&amp;feed=atom&amp;title=Character_Data_Store</id>
	<title>Character Data Store - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://159.203.101.162/w/index.php?action=history&amp;feed=atom&amp;title=Character_Data_Store"/>
	<link rel="alternate" type="text/html" href="http://159.203.101.162/w/index.php?title=Character_Data_Store&amp;action=history"/>
	<updated>2026-05-14T08:44:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://159.203.101.162/w/index.php?title=Character_Data_Store&amp;diff=1706&amp;oldid=prev</id>
		<title>Karianna: /* Structural rules */</title>
		<link rel="alternate" type="text/html" href="http://159.203.101.162/w/index.php?title=Character_Data_Store&amp;diff=1706&amp;oldid=prev"/>
		<updated>2009-08-14T12:52:31Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Structural rules&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:52, 14 August 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot; &gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It should minimize the number of mental models another programmer needs to learn (see 11)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It should minimize the number of mental models another programmer needs to learn (see 11)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It should be built with as few classes as reasonably possible (but not at the expense of clarity or requirement (9) above.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It should be built with as few classes as reasonably possible (but not at the expense of clarity or requirement (9) above.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Pools (e.g. skill points) must be stored in something that can be recalculated from a known good source. Simply a numerical map that developers are trusted to update correctly is not appropriate. We have demonstrated the&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Pools (e.g. skill points) must be stored in something that can be recalculated from a known good source. Simply a numerical map that developers are trusted to update correctly is not appropriate. We have demonstrated the challenges of that model in 5.x.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;challenges of that model in 5.x.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Known patterns / data structures should be used when appropriate (see 13)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Known patterns / data structures should be used when appropriate (see 13)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Karianna</name></author>
		
	</entry>
	<entry>
		<id>http://159.203.101.162/w/index.php?title=Character_Data_Store&amp;diff=1705&amp;oldid=prev</id>
		<title>Karianna: Created page with '=Summary=  # Store items granted to the PC (such as a Feat) # Store items available to the PC (such as a starting language list) # Quickly answer &quot;does the character have X&quot; quer...'</title>
		<link rel="alternate" type="text/html" href="http://159.203.101.162/w/index.php?title=Character_Data_Store&amp;diff=1705&amp;oldid=prev"/>
		<updated>2009-08-14T12:52:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;=Summary=  # Store items granted to the PC (such as a Feat) # Store items available to the PC (such as a starting language list) # Quickly answer &amp;quot;does the character have X&amp;quot; quer...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Summary=&lt;br /&gt;
&lt;br /&gt;
# Store items granted to the PC (such as a Feat)&lt;br /&gt;
# Store items available to the PC (such as a starting language list)&lt;br /&gt;
# Quickly answer &amp;quot;does the character have X&amp;quot; queries&lt;br /&gt;
# Not confuse availability with granting&lt;br /&gt;
# Track the source of every grant and availability&lt;br /&gt;
# Be able to cleanly handle MULT:NO v. MULT:YES&lt;br /&gt;
# Track exact sources (there are some nasty cases I will draw out later)&lt;br /&gt;
# Handle removal of one MULT:NO parent while another is present to maintain the state (such as a user selection of a CHOOSE)&lt;br /&gt;
# Appropriately store a CHOOSE result so it can be reused by other tokens/objects (so it has to be stored in a predictable location)&lt;br /&gt;
# Replicate behavior from the existing tokens in PCGen 5.16.&lt;br /&gt;
# It should also avoid making the assumption that it's a d20 system. Assume it needs to handle Rolemaster &amp;amp; Serenity if you're looking for particular challenges.&lt;br /&gt;
# Handle undo/redo.&lt;br /&gt;
&lt;br /&gt;
=Structural rules=&lt;br /&gt;
&lt;br /&gt;
# It must be a directed acyclic graph, with no cycles in the code. (And the use of an interface solely to break a cycle is sometimes, but not always indicative of a structural problem)&lt;br /&gt;
# When a developer makes a code modification, the developer should not be forced to make a matching modification in another location in the code in order to maintain a valid structure (no contracts, as I would call them)&lt;br /&gt;
# When a change is made to the internal data structure, a significant amount of &amp;quot;reorganization&amp;quot; to ensure a valid data structure should not be necessary (if you're incrementing through everything, then that's not good)&lt;br /&gt;
# It should be fully unit testable, without major dependencies on other objects. (some will be expected)&lt;br /&gt;
# It should have as simple of an interface as reasonably possible (if you're beyond 20 methods, you probably have a problem)&lt;br /&gt;
# It will not expose its internal state to external modification other than through direct method calls.&lt;br /&gt;
# You must not consume any errors (no catch Throwable or anything like that)&lt;br /&gt;
# It should not produce side effects - methods do one thing. No surprises for the uninitiated.&lt;br /&gt;
# It should be a class that does one thing.&lt;br /&gt;
# You must assume CDOMObjects are not cloneable.&lt;br /&gt;
# It should minimize special cases.&lt;br /&gt;
# It should have no knowledge of the UI&lt;br /&gt;
# It should minimize the number of mental models another programmer needs to learn (see 11)&lt;br /&gt;
# It should be built with as few classes as reasonably possible (but not at the expense of clarity or requirement (9) above.)&lt;br /&gt;
# Pools (e.g. skill points) must be stored in something that can be recalculated from a known good source. Simply a numerical map that developers are trusted to update correctly is not appropriate. We have demonstrated the&lt;br /&gt;
challenges of that model in 5.x.&lt;br /&gt;
# Known patterns / data structures should be used when appropriate (see 13)&lt;br /&gt;
&lt;br /&gt;
=Recommendation=&lt;br /&gt;
&lt;br /&gt;
Type Safety is good&lt;br /&gt;
&lt;br /&gt;
Back to [[Architecture]]&lt;/div&gt;</summary>
		<author><name>Karianna</name></author>
		
	</entry>
</feed>