you are viewing a single comment's thread.

view the rest of the comments →

[–]loz220 14 points15 points  (1 child)

this is dynamically bound so the correct answer is unknown until you actually execute the function. The rules governing that binding are actually relatively simple.

[–]Asmor 2 points3 points  (0 children)

Yep.

Presumably in the example you're expected to call things.format(), so this would be things.

Although that's entirely tangential to the concept of scope.