How to explain callbacks in plain English? How are they different from calling one function from another function taking some context from the calling function? How can thei
I think it's an rather easy task to explain.
At first callback are just ordinary functions.
And the further is, that we call this function (let's call it A) from inside another function (let's call it B).
The magic about this is that I decide, which function should be called by the function from outside B.
At the time I write the function B I don't know which callback function should be called. At the time I call function B I also tell this function to call function A. That is all.