DEV Community

Discussion on: What are your biggest struggles in learning JavaScript?

Collapse
 
tiffany profile image
tiff

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.

Collapse
 
fred_amare profile image
πŸ‘‘ Fred Amare

Ha! closures...

Thread Thread
 
tiffany profile image
tiff

Right?

Collapse
 
ben profile image
Ben Halpern

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)

Thread Thread
 
fred_amare profile image
πŸ‘‘ Fred Amare

Same as me... I started my coding journey with python. What a beauty that language is 😍