Ugh, TIL JS now has a cute lil abstractions called Iterator. What is it? You can only access it using ES6 for...of - dammit language peeps
"but async / await" - no fuck that too, examples never show error handling and I for one can do without nested try...catch
-
-
I haven't dug into it. So far with our flavor of co, there isn't an easy error handling right away that I've seen.
-
yeah; so far I'm leaning towards using a combination of require('async') and streams - either Node core or pull-stream
- 1 more reply
New conversation -
-
-
The stuff I'm working on lately... Sometimes JS seems like the wrong language.
-
whatcha working on? - I think JS is only great at prototypes / glue code - anything beyond that requires a lot of iteration
- 6 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.
though - I'm sitting here in Tokyo cursing at the people that came up with this tower of wonky abstractions