The easiest way I can tell you about what a callback is: it's just a function passed as a parameter to another function. jQuery uses callbacks a lot. Still trying to wrap my head around closures.
Callbacks were impossible for me to wrap my head around when I was first getting into JS. Beforehand I had mostly been coding in Ruby and things are just not done that way (well, asynchronous programming in general is not really a Ruby things)
The easiest way I can tell you about what a callback is: it's just a function passed as a parameter to another function. jQuery uses callbacks a lot. Still trying to wrap my head around closures.
Ha! closures...
Right?
Callbacks were impossible for me to wrap my head around when I was first getting into JS. Beforehand I had mostly been coding in Ruby and things are just not done that way (well, asynchronous programming in general is not really a Ruby things)
Same as me... I started my coding journey with python. What a beauty that language is π