Coding 2021-07-25

By Max Woerner Chase

Okay. Lots of stuff today, none of it related to my projects. I'm not, like, sour or angry about this, but I am exhausted.

Let's see what kind of changes I can make to my code. I want to create an _api.changes directory for holding the five, I mean four, functions for generating state change streams. That type should probably go next to the other modules for now.

"But wait, having like one function per module sounds kind of obnoxious." Until this hits 1.0, I don't think I'm really writing this code for anyone else, and even then, I can't say for sure. So, my feelings on this are the only ones that matter, and my feelings are "Let's see what happens!"

One thing that happens is that I need to think really hard about what gets imported into the api module, now that it's all re-exports.

Another thing that happens is, I start suspecting that I should be applying this pattern elsewhere, because it's a little obnoxious to make the required imports match up with the defining modules.

It's all kind of a mess right now, and I'll try to get it to make sense tomorrow. For now, it's late, and this post is going to take forever to publish, so I might as well get started.

Good night.