2 ms·
Sorry, meant "callback argument", a function argument to which a function can be passed. In Javascript and Python, all functions passed as parameters to other
by Animats 10y ago
Sorry, meant "callback argument", a function argument to which a function can be passed.
In Javascript and Python, all functions passed as parameters to other functions are potentially closures, but this is not the case in most compiled languages.
- lacampbell 10y agoNo worries. The callback terminology always confused me. I think it came from the C culture, where you need a special word for a tricky concept. Weird that it persists in javascript, where it's easy.