An exchange with Bill triggers some ideas for the flood. It’s 0330 hours. Let’s see what we can do. I woke up and can’t get back to sleep. Since I have a couple of ideas for the flood, I decided to get up and work on them. I have a few things in mind, one of them slightly larger than the others. Rename the frontier and examined variables for clarity, and any others that seem to follow; Break out chunks of the code into separate methods, again for naming clarity of those chunks; Create a “Method Object” to do the actual work. Give it a fluent interface. Obviously that last one is the larger. I envision a Flood object, into which we’ll move all the code. I’m not sure whether we’ll keep a flood method on cell or not, but I’m leaning toward replacing it with the Flood facility. Despite it being the hardest bit and despite the obscene hour, I think we’ll start with the Flood object. Rather than write new tests for it, we’ll try to refactor the existing flood to create and use the new…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.