2 ms·
> I've once had a very nasty bug keeping me busy for days, where somewhere in a complex structure of multiple promises I somehow forgot to return a call to a re
by josteink 10y ago
> I've once had a very nasty bug keeping me busy for days, where somewhere in a complex structure of multiple promises I somehow forgot to return a call to a resolve.
Promises allow, enable and encourage composition.
If you use them correctly no single promise should ever be so large that this becomes a problem.
That said, you can write spaghetti in any language and platform.
If you're the kind to write 100+ line async functions, no framework or technique will help you keep your code tight and solid.