Riverside

Sample Code, but not in the doc

Discussion created by Riverside on Jan 9, 2012
Latest reply on Jan 18, 2012 by Riverside
So, it would be great if you reference something in code, that there is a way to describe it somewhere in the doc even if its the most basic property.  For a newb, its kinda confusing if the code does not line up with the doc.  For example, the following code from the help doc (http://resourcesbeta.arcgis.com/en/help/main/10.1/index.html#/TableView_properties/018v0000000n000000/),

print "Table View Name: " + desc.nameString
print "Where Clause:    " + desc.whereClause
print "Table Name:      " + desc.name


So, for TableView properties references that Table properties are supported, ok, great, going to (http://resourcesbeta.arcgis.com/en/help/main/10.1/index.html#/Table_properties/018v0000003m000000/), where is desc.name.  This happens all over the place, where I got to go look where it came from, so for me, fine, no worries, but someone just trying to get started can find bouncing around the doc can get confused very easily.  We strongly encourage python here, but the doc has to line up with the code.  I am not intending to go through all the doc pointing these inconsistencies out, unless you ask.

Outcomes