You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, especially for the larger scripts that call multiple functions, it is possible to "half-succeed", which will leave you in a state somewhere between where you started and what you wanted.
For example, currently build_video.py (the main compound script) might correctly process topic transition video segments, but then fail in the timestamps function if there is no playlist frontmatter variable in the content file. (Necessary for correctly building the YouTube description).
What would be more desirable is to make all scripts atomic, so that they either fully succeed or don't run at all (short-circuit upfront). This ought to be possible with a bit of thought and refactor -- checking the error cases upfront.
The text was updated successfully, but these errors were encountered:
Right now, especially for the larger scripts that call multiple functions, it is possible to "half-succeed", which will leave you in a state somewhere between where you started and what you wanted.
For example, currently
build_video.py
(the main compound script) might correctly process topic transition video segments, but then fail in the timestamps function if there is no playlist frontmatter variable in the content file. (Necessary for correctly building the YouTube description).What would be more desirable is to make all scripts atomic, so that they either fully succeed or don't run at all (short-circuit upfront). This ought to be possible with a bit of thought and refactor -- checking the error cases upfront.
The text was updated successfully, but these errors were encountered: