Coding 2025-10-20

By Max Woerner Chase

I'm still feeling a little bit iffy today, so I'm once again going to try to wrap things up quickly and put down the screen, before I end up feeling worse.

Here's the deal with the base stuff that I'm currently considering: there is some form of class factory that takes as parameters the base, and whether it should be balanced. The idea is that instances of the class will have a sign attribute and one or more digits, with no base point. There will be a constructor classmethod that takes an integer argument and processes it into an instance, and the first thing it needs to determine is whether to set the sign attribute. Three things need to be true for it to be necessary to set the sign attribute:

And I just meant to get some stuff planned, but I've just thrown together a very rough prototype. A lot of the validation logic is either not written, or temporarily commented out because it was breaking things, but I believe there's enough functionality in this now to think about questions like "no, really, what interface to this actually makes sense?"

Really not ready to consider that right now, though, so let's wrap this up and switch to paper or e-ink or something for the rest of the night.

Good night.