Coding 2022-06-06

By Max Woerner Chase

All right, let's see what kind of common functionality I can pick out of these four-to-six modules...

Common things include:

The remaining bits of unique code are sooooort of hacks around inadequacies in the high-level design. It should be possible to streamline some of this code by creating helper functions to put together ValueAdaptor instances given a starting path.

It also kind of seems like it would make sense to bundle together the reducer function and initial value arguments to the reduce_parameterization helper. I've also got the urge to break up the module into several smaller modules, and convert the nested function definitions into classes with __call__ methods, but I'm not quite sure there's a concrete objective that would be satisfied by doing that, so I'll hold off on that for now.

In any case, it's late, and I'm tired, so I'm just going to kind of... end this post now.

Good night.