3 ms·
It's not so much that exceptions are bad though. Cancellation tokens throwing is not obsolete. Mutex and such can be cleaned up in finally blocks in .NET. It
by jayd16 3y ago
It's not so much that exceptions are bad though. Cancellation tokens throwing is not obsolete. Mutex and such can be cleaned up in finally blocks in .NET. It's just that being able to place the exception in a predictable place has benefits.
- bb88 3y agoPython/C++ has finally: blocks as well. They're not nearly as good as the `with` statement (or context handler) in python.