News for hackers. Stuff that matters.
Re:Please do not attempt to simplify this code by thockingoog on Thursday December 27, 2018 @09:03PM (#18774349)
As one of the authors of the original code here, this was the result of several days of intense works by a half dozen people working through every corner case we could dream up, and a bunch we thought of on the spot.

It is in no way a guarantee that we got them all, but after spending so much time reason in through why those 'else' clauses were correctly empty, we thought it would be rude not to write it down.

In truth it was as much for future-me as anyone. My memory is know. To be spotty. :)

Re:Please do not attempt to simplify this code by boulos on Thursday December 27, 2018 @11:01PM (#18774801)
Tim, does someone have a fuzzer running against this? Or even some static analysis ensuring that say the enums from various things are actually handled?
Re:Please do not attempt to simplify this code by thockingoog on Thursday December 27, 2018 @11:03PM (#18774810)
Probably not, in truth. It's a great idea and not just for this code, but lots of tricky stuff.