Talk:ThingDef/.xml notation "attributes" are actually elements/reply (4)

From RimWorld Wiki
< Talk:ThingDef/.xml notation "attributes" are actually elements
Revision as of 18:34, 3 May 2014 by Jpwrunyan (talk | contribs) (Reply to .xml notation "attributes" are actually elements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Ok, in some ways that's definitely a different technical terminology than what I am used to (ECMA 4 is my background). "Property" means the same thing. "Field" sounds like the technical term to use. "Variable" sounds like a more general term. And "Attribute" sounds like meta-data (ie "Attribute" tells us something about the "field"). The more I think about it, the more I am tempted to avoid using technical terms when describing the data and go for general terms. In other words, the purpose of the wiki and the tutorials perhaps shouldn't be to teach C# (or XML). Though I still want to keep the writing consistent. Like not say variable in one article, field in another, element in a third, property in a fourth... etc.

Just to be clear, for me, I have used "property" to mean things like a variable declaration, XML element, XML attribute, etc. And "value" as, well, the value assigned to that "property" whether it's a reference (aka pointer) or primitive value. So like in XML it would be <PropertyName>ValueOfProperty</PropertyName>. I'm not married to this worldview by any means, I just want to establish a common one for the wiki. I'm open to suggestions.