3 ms·
I think sync should always have been the default. Most of the syntax ugliness and screwing-about over the years in JS and especially Node codebases that I’ve se
by spanhandler 6y ago
I think sync should always have been the default. Most of the syntax ugliness and screwing-about over the years in JS and especially Node codebases that I’ve seen has been everyone wrestling against that default because they do need their code to be locally synchronous. That it’s technically async at the event loop is mostly something programmers shouldn’t usually need to worry about unless they need to leverage that.