-
Notifications
You must be signed in to change notification settings - Fork 25
Naming
Randall O'Reilly edited this page Feb 2, 2019
·
6 revisions
Here are the emergent-specific naming conventions -- please use these to keep the code as readable and consistent as possible!
First, we follow all the general Go conventions:
And here are some additions for the GoKi framework:
Beyond those, we have the following more specific cases:
Generally provide 2 methods for accessing elements in cases that might fail (e.g., by name):
-
ThingByName
*thing -
ThingByNameCheck
(*thing, error)
We should adopt this convention for GoKi too...
test