Coding 2022-12-28

Tags:
By Max Woerner Chase

All right, I'm going to try to review the names in my new modules. So, starting in parametric...

I'm feeling pretty good about label, so let's start by considering typed_mapping. The basic concept of the "typed mapping" is really more like it's a function that conforms to some protocol, and the function can be updated to produce new functions. Something about functions, maps, finite domains...

Honestly, FunctionOnFiniteSet seems reasonable, since the modules and classes are intended to be used with aliases, so there's no concern about length.

So, next up, registry and parameters. These need to be on the short side. One is a function from a typed label to a value of that type. The other is a function from a typed label of a collection of objects to a member of a corresponding collection. I'm a little bit wondering if I want to change them back to objects and items? My problem with that is, I don't think it really communicates the intended readings of "any instance whatsoever" and "an item of a collection".

I could have constants instead of registry, maybe?

I got distracted so it's getting late, but let's leave that there for now. I'll mull this over and try to expand things out.

Good night.