3 ms·
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 a
by ufo 9y 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