The first approach was to write it in straight python code. This would have been clear as day to the reader, but would have required essentially new code for each message, nearly a cut-and-paste copy.
The second approach was to use internal data definitions and cool python reflection techniques so that supporting a new message required just adding an entry to a table and adding a new definition to another table.
The second approach is not trivial to understand without some brain work even if you know it well. The approach that is more extendable and less buggy (less code == fewer bugs) is less readable.
So of course I commented. "If you want to do $blah, go do this in this table and add this to this other table" in addition to the "this is why I did it this way".---
[ucblockhead is] useless and subhuman
It does make me wonder what sort of expectations those guys have.--
Cheese is not a hat. - clock