6 ms·
> It’s common to see (catch Throwable) sprinkled liberally across a Clojure codebase. Just like (catch Exception), this also breaks the semantics of Interrupte
by layer8 2y ago
> It’s common to see (catch Throwable) sprinkled liberally across a Clojure codebase.
Just like (catch Exception), this also breaks the semantics of InterruptedException, which (to maintain its semantics) either has to be rethrown, or the catching code has to set the the current thread’s interrupt flag (Thread::interrupt).