Coding 2025-10-26
My focus has been drifting from the base stuff a little, but I did still get some stuff done there. I added boolean conversion (which I'd forgotten about before), and handwrote the enums for the balanced complex bases. I just filled in a bunch of other stuff, including writing validators. At this point, the ways forward (aside from polishing existing code) are to figure out what needs to happen to deal with base representations of complex numbers, and to implement more tests and procedures.
Actually, since I brought that up, I just wrote a one-liner for determining whether a number is Harshad, and then realized I need to special-case when the digit sum is zero. And when the number is zero.
Anyway, thinking about this reminded me of one other thing I need to work on, and that's the table-generating code, now that I have enough code written to populate new tables, I just haven't bothered to toss together the generators. That's something I should try to do tomorrow, in between the other things I'm working on, which I'm going to keep under wraps for now. For the moment, I'd better get to bed.
Good night.