Coding 2022-11-17
Let's see. The quickest way to get plans for updating code is to see what corresponds to the updates on the code I haven't written yet.
Um. I'll try again.
I have three-ish groups of modules that aren't implemented in either topic. These modules have some correspondence with other modules that are implemented, but I would like to rewrite to some degree. I feel like it would be "more efficient" if I did the rewrites before bringing in more code that would need equivalent rewrites.
So.
- pyinstrument
- limit-coverage
- coverage subcommands
I'm going to try putting detailed notes in the Kanban board, but I'll summarize things here as I go.
Two of these modules will work similarly to _api.cli.python. So, refresh my memory about what's in there...
Well, this is a little unpleasant. I look at a helper function with a single statement, and there's just so much to unpack about making the code in question reusable.
Like either I need to break up the data at several levels of abstraction, or I have to create a placeholder that's never supposed to be emitted... If I could mark the placeholder as "not-supposed-to-be-used", maybe I'd feel better...
Why is this so hard? Anyway, I'll have to think about this.
Good night.