3 ms·
1. Define Errors Out of Existence https://wiki.tcl-lang.org/page/Define+Errors+Out+of+Existence https://wiki.tcl-lang.org/page/Define+Errors+Out+of+Existenc...
by cratermoon 1y ago
1. Define Errors Out of Existence https://wiki.tcl-lang.org/page/Define+Errors+Out+of+Existence https://wiki.tcl-lang.org/page/Define+Errors+Out+of+Existenc...
2. Treat errors not as something going wrong but as incomplete actions leading to alternate valid code paths.
On the second point,
make errors part of the domain,
and treat them as a kind of result outside the scope of the expected.
Be like jazz musician Miles Davis and instead of covering up mistakes,
make something wrong into something right. https://www.youtube.com/watch?v=FL4LxrN-iyw&t=183 https://www.youtube.com/watch?v=FL4LxrN-iyw&t=183