Enough Goofing Off (in a Dopamine Hole), Time to Dive into Hard Tasks Again
This post is part of a showcase of how a " story board " is invaluable in helping to develop the code (e.g. Python) for implementing the desired outcome. [more on storyboarding ( here ), ( here ), and ( here )] In my previous post ( here ) I took a pass at explaining my below, "partial" flowchart for the "Xpansder" project. Now it's time to explain the details, this again happening well BEFORE writing the corresponding Python code. (click on the image to enlarge it, back a page to return to here) (or get image separately here ) Just to recap the overall scheme: (a) I decided I was going to parse the incoming text into three buckets, or buffering "lists" (as I will be implementing them). The decision of which buffer to dump the next incoming text into is performed by a three state, sequential state machine having states S0, S1, S2 and then back to S0. [Post script: A new idea just came to me : Add a fourth buffer, call it "Buff...