3 ms·
The scoping rules in #4, combined with being able to reference variables before definite assignment, is what leads to the 'variable hoisting' in Javascript. Is
by ajanuary 12y ago
The scoping rules in #4, combined with being able to reference variables before definite assignment, is what leads to the 'variable hoisting' in Javascript.
Is #6 really called 'late binding'? That seems like the wrong term.
- mguillech 12y agoPlease check out http://en.wikipedia.org/wiki/Late_binding http://en.wikipedia.org/wiki/Late_binding to know more.
- ajanuary 12y agoI've always heard it used to refer to method dispatch, which that wikipedia article also seems to. However, it seems like the Python spec does use it to refer to when variable values are resolved.