3 ms·
Most languages have something like this, usually around async. For instance NodeJS has had a bit of this around promises, and eventually needed to institute th
by crdrost 4y ago
Most languages have something like this, usually around async.
For instance NodeJS has had a bit of this around promises, and eventually needed to institute the rule “if a promise rejects with an error, anf nobody is around to hear it, we will crash your program on the assumption that you probably needed to clean up some resources but didn't and now they're going to leak. Listen to the error with a handler that does nothing, if we are wrong about that.”
- macintux 4y agoOne of many reasons I like Erlang: everything is async, so you have plenty of tooling/libraries/core language features to support you.