who else ended up with an utterly ugly .then(function(){…}.bind(ctx)).then(function(){…}.bind(ctx)).then(function(){…}.bind(ctx)) pattern?
@WebReflection Sounds like something arrow functions would fix?
-
-
@mathias well yeah, but arrow functions all over will slow JS 3X so it's not always a desired solution …although Promises aren't about perf -
@mathias 3X once transpiled through `.bind()`, not sure about native implementation … will make a bench at some point ^_^ - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.