4 ms·
We are not talking "condition" from Lisp here, but the blog post that is linked to this thread. And what the author is doing is asking for a "with" statement wi
by erikb 14y ago
We are not talking "condition" from Lisp here, but the blog post that is linked to this thread. And what the author is doing is asking for a "with" statement without knowing that the feature is already there. "condition" might be a powerful feature and I might even like it myself, but the post doesn't show the power of "condition" to Pythoners, because the feature used in the example already exists in the core language.
- masklinn 14y ago> We are not talking "condition" from Lisp here Of course we are. > And what the author is doing is asking for a "with" statement No, he most definitely is not, a with statement (or Common Lisp's version, `unwind-protect`) does not provide resuming, only restoring a previously-stored context. > the post doesn't show the power of "condition" to Pythoners, because the feature used in the example already exists in the core language. You should try reading the post again rather than stop at the first paragraph, because you're wrong.