nnirror/facet

how to best handle commands that have errors in them

nnirror opened this issue · 1 comments

Initially I had made it so failed commands would be reattempted, making it possible for commands that reference a variable to be executed in the same keystroke as the variable it depends on.

But it feels a bit clumsy as errors can start to pile up - especially if the error comes LATE in the command. It does a whole bunch of processing, then hits the error and retries indefinitely, eating up CPU. It would be better to preserve CPU and enforce that any variables be set in a separate command.