2 hours ago · 7 min read1466 words · Tech · hide · 0 comments

Hello, loves! Before working out that validation idea, let’s commit the good bits. Surprise Idea: The search for joy for everyone must never be abandoned. Note Down toward the end, musing about how we can always improve code, I followed my nose into more philosophical terrain. If you wish, skip directly there. Despite the need to be awake, or the inability not to be, I’m not really at my best before dawn. Not sure when I am at my best, but I think the sun has to be up. And although it is cloudy, my watch assure me that the sun has been up for a few hours. I’m not sure what a watch knows about astronomy but the general level of light outside supports the idea. Anyway, I like the new classes Machine, State, and Event, at least in the way they are used, so let’s get them committed in that form, and then perhaps look further into declaring the specific state and event names we expect. We ignore two tests, and here are the classes: class Event: def __init__(self, *, to:str, hook): self.to…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.