codeinabox@programming.dev to JavaScript@programming.devEnglish · 9 days agoWhy I don't chain everything in JavaScript anymoreallthingssmitty.comexternal-linkmessage-square13linkfedilinkarrow-up113arrow-down13cross-posted to: hackernews@lemmy.bestiver.se
arrow-up110arrow-down1external-linkWhy I don't chain everything in JavaScript anymoreallthingssmitty.comcodeinabox@programming.dev to JavaScript@programming.devEnglish · 9 days agomessage-square13linkfedilinkcross-posted to: hackernews@lemmy.bestiver.se
minus-squareKaKi87linkfedilinkarrow-up3·9 days agoI disagree with this article for the same reasons as everyone else. I’ll also add it’s possible to add comments between each line of the pipeline. I aslo use promise chaining as pipeline pattern for non-chainable calls, as described here : https://blog.kaki87.net/promise-based-pipe-in-js/
I disagree with this article for the same reasons as everyone else.
I’ll also add it’s possible to add comments between each line of the pipeline.
I aslo use promise chaining as pipeline pattern for non-chainable calls, as described here : https://blog.kaki87.net/promise-based-pipe-in-js/