mac to Python • 8 months agoPython errors as valueswww.inngest.comexternal-linkmessage-square18arrow-up147arrow-down13
arrow-up144arrow-down1external-linkPython errors as valueswww.inngest.commac to Python • 8 months agomessage-square18
minus-square@CodeMonkeylink5•8 months agoThey forgot the Erlang approach: throw exceptions but never catch them. If you are throwing an exception either your code is wrong or your system is bad. In either case, you should crash violently and let another instance handle the retry.
minus-square@[email protected]linkfedilink1•8 months agoDo they then they extensively use algebraic data types like rusts Option?
They forgot the Erlang approach: throw exceptions but never catch them. If you are throwing an exception either your code is wrong or your system is bad. In either case, you should crash violently and let another instance handle the retry.
Do they then they extensively use algebraic data types like rusts Option?