3 ms·
I feel like you could start with manually calling the function, and then introduce callbacks as a way to get your code to run in response to some event. A callb
by nicoburns 7y ago
I feel like you could start with manually calling the function, and then introduce callbacks as a way to get your code to run in response to some event. A callback is no different to a regular function after all.
If your way works, then it works though I suppose.