I've been programming with the intent of making sort of a todo list, so that if the program crashes mid-request, it can re-request later. But as I blankly stare at it trying to figure out what's to do, I'm starting to think that the program might just generate this same todo list every time it starts up. The conditions for causing the request to be made are still there, so it'll get re-requested whether there's a note to do it or not.
So why would I make a todo list at all? Just have it check program state, and throw everything up into the air. No sort of continuation needs to be saved to database, because if the program fails before finishing, the program state will be the same, and if the program succeeds, the state will be different, so if the program restarts, it'll restart the request just by naively looking at what needs to be requested.
Am I just making a "make a checklist" checklist? Need to be sure not to do that...
#programming #theory #rant