A type:
import this
(also called PEP 20) briefly explains what pythonic is.
"If implementation is hard to explain, it's a bad idea. If implementation is easy to explain, it could be a good idea."
I don’t know how you intend to fulfill your brainwave interpreter. I suppose you do not intend to put specific functions (related to the fact that this ... token) inside ... Token class.
I would use functions or, if they are empty, the list for this is replaced by an enumeration as soon as Py 3.4 is released.
In a nutshell: is it hard to explain? Keep thinking!
Wjars source share