Coding 2022-11-25

Tags:
By Max Woerner Chase

Okay, I wasn't able to focus all that well today, and I'm going to blame Thanksgiving for that. Now, let's see what I've got...

I thought some about that snippet I posted yesterday, and tried to fix it up a bit.

class MultiInstaller(Protocol[TInstaller_contra]):

    def __call__(self: MultiInstaller[TInstaller], __key: Type[TInstaller]) -> TInstaller:
        ...

All right, let's see what it takes to make this happen...

...

Well, I'm trying to do sensible things here, but there are limits. I'm not totally sure if this is all going to work, but if it does, I'm going to need to rethink some of my decisions.

Either I need to rethink my earlier decisions, or I need to rein in the scope of my changes, which is... not a huge problem, because that means deleting a bunch of code that I don't trust. Actually, let's try reining stuff in now...

...

Changes are rippling outward. Either this will end up completely unworkable, or it will be poised to make a lot more sense. We'll see...

Anyway, it's too late.

Good night.