3 ms·
I agree. I don’t think callbacks are an underbaked language feature.
by groundzeros2015 6mo ago
I agree. I don’t think callbacks are an underbaked language feature.
- t-writescode 6mo agoIn another part of the thread, you lament the use of callbacks. May I ask you what you think async/await is, except syntactic sugar that wraps around the callback pattern?
- groundzeros2015 6mo agoCertain architectures focused around callbacks have problems. But their existence is not a burden on the language design. Node.js has a problem where every standard library function has a callback and blocking version. At least they just committed to doing both.