Coding 2023-01-01
I'm going to write a quick post tonight, and try to finish up with plenty of time until the new year.
I was focusing on renaming the input_accumulator stuff. Once I feel good about those names, I'll put the commentary from the last post into the flex source, and then get to work on updating names.
Right now, I'm thinking that ValueAdaptor gets renamed to Selector, and the InputAccumulator protocol maybe gets renamed to MultiSelector. I may also consider collapsing the implementations back into a single class that handles mapping somehow, I'm not sure. MultiSelector is probably not quite right. The idea is that a Selector combines a select.Label and a function to map the wrapped value to a path segment, and the other class is responsible for folding the segments together with an initial value. So, ideally, there should be something more descriptive of that than MultiSelector or Selectors. CombinedSelectors? SelectorCombiner?
I hope it's clear why I think this needs some time to bake.
Anyway, I'm about done with this for now. I'll think about it more next year.
Good night.