News for hackers. Stuff that matters.
Re:Diminishing returns of static typing by coding123 on Monday October 02, 2017 @04:15PM (#15387524)
Thanks for the note, I am looking into it right now. One area that may grind my head with async await however is that there is a lot of Promise.all work in this codebase. Would you still use async/await constructs when you need to do a lot of fork/join/merge stuff? (sorry for the derail HN)
Re:Diminishing returns of static typing by kjaer on Monday October 02, 2017 @04:31PM (#15387661)
If you're using Promise.all to run code in parallel, then async await can't really replace that, as far as I know. But you can still use `await Promise.all(...)`, which will free you from having callbacks everywhere; running parallel code will no longer have to look so different from running it sequentially, which is quite nice.
Re:Diminishing returns of static typing by Longwelwind on Monday October 02, 2017 @07:43PM (#15388906)