Hacker News new | ask | show | jobs
by ufo 3169 days ago
One big advantage is that higher order code can work with both sync and async code. The simplest example would be a for each iterator but this also applies to anything else that calls a function or method that is passed in