Hacker News new | ask | show | jobs
by z3t4 3314 days ago
When calling a function, you know what arguments/parameters to use, right!? Then you also know if it's sync or async. The browsers way of dealing with async seems to be forgotten, for example:

  button.onclick = buttonClicked;
I find this pattern easier to deal with then callbacks.