Some of the GM libraries use constants; others don’t. That is fine, though of course it would be nice if we had constants for things like checkbox choices values (“on” and “off”), among other things. This way we would eliminate typo bugs (which, in python, can sometimes be tricky to debug) and would ensure that it is easy to update code if the convention changes.
Are they already there, somewhere? Does anyone know? If not, I could start putting them in as I use them for my module. Would people say they belong to choices.py, perhaps? Or we could have a separate file for constants that are used across libraries (such as “yes”, “on”, “off” and I am sure there are other things).