There's been a proliferation of "things" that have gone into main.moon where they arguably don't belong. I think especially the event coalescing should really be somewhere else.
It might be interesting at some point to further explore "behavior based on program name" as in this https://github.com/johnae/spook/pull/28. It's not exactly related to cleaning up main.moon but it is certainly IN main.moon that the decision would be taken on what identity to assume.
There's been a proliferation of "things" that have gone into main.moon where they arguably don't belong. I think especially the event coalescing should really be somewhere else.
It might be interesting at some point to further explore "behavior based on program name" as in this https://github.com/johnae/spook/pull/28. It's not exactly related to cleaning up main.moon but it is certainly IN main.moon that the decision would be taken on what identity to assume.