Coding 2022-12-08

By Max Woerner Chase

Okay, I managed my time poorly once again, so here's what I dashed out quickly, and then I'm going to publish:

I added a __init__.py file to the tests directory so I can do a relative import of the helpers module I just added. Maybe I'll reorder that a little later, but there's no time right now. Inside the helper file, I put two functions. One takes a Facts[Objects] and an Objects, and calls .update() on the Objects that it gets from the Facts[Objects], with the other Objects that was passed. The other function takes a Facts[Objects] and any number of Parametric arguments. It extracts the Objects from the Facts[Objects], then calls .facts() on each Parametric that was passed in.

Together, these sidestep the API design issues I was having by having two smaller functions that do less each than the one large function I was visualizing, and are less awkward to lay out the parameters for, thanks to the level of nesting this adds.

Anyway, I'll actually have a chance to try this stuff out later. For now, I just wanted it put together and ready to think about. No more writing for now.

Good night.