Coding 2022-06-27
The high-level layer on top of MOTR is somehow in even worse of a mess than usual right now, because I was putting stuff together, and I realized that there should be a way to make things easier to use, but it's running into some friction.
Basically, I think I'm once again running into helper functions that are no longer being helpful. I'm not certain, but I think the way out here is to add some helper methods to the classes that some of this code was wrapping, and expose those classes directly...
The difficulty I'm going to need to resolve, though, is that, for a runner-type command, we start with the command, add the args, and go, but for non-runner-type commands, we start with the command, and the python version, so I guess I need a little helper class for that. I'm getting confused enough thinking about this that I'm going to take a break, and try the following when I get back to it:
- Make a minimal helper class for these purposes.
- Replace all uses of the current helper class with the new/existing classes.
- Make a note of what's awkward.
- Address that awkwardness if it's really obvious how, otherwise gather more data, by implementing more wrappers.
I let things get late so now I am once again cutting off the entry awkwardly.
Good night.