Discussion

Ask HN: ES6 javascript Generators+Promises async patterns

is it just me or indeed these async patterns based on ES6 Generators+Promises are pretty hard to deal with? I find them way more complex then the good ol' callbacks pattern; and by complex I mean hard to understand, hard to write, hard to maintain, thus not more productive. I like a lot the KISS principle and I find this is not even close to that. don't we all want to move into a better direction? to me this is not doing that. is it just me having this opinion? am I getting old here and rusty and not open to new better ways of the new age? also, can you recommend a good source which explains these patters?
1 points unusximmortalis 10 years ago 4 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton