A useful thing is to compare what verbs and properties are available for an object:
For longer code, dump it out and use a 'diff' tool.