Re:Abusing Python exceptions to turn a recursive function it...
by icebraining on Wednesday February 28, 2018 @01:17AM
(#16481083)
Nope, we've had "finally:" (the equivalent of unwind-protect) for decades. And this code doesn't use it.
[ Parent
| on HN ]
Re:Abusing Python exceptions to turn a recursive function it...
by thr0000waay on Wednesday February 28, 2018 @04:50PM
(#16487401)
Good. Now discover call/cc.
Re:Abusing Python exceptions to turn a recursive function it...
by icebraining on Thursday March 01, 2018 @04:15PM
(#16496412)
No thanks, it's a terrible control structure. We already have coroutines for doing most of what you can do with call/cc without its problems.