4 ms·
I'm not sure your definition of 'it' (that is, a default) matches how 'it' is actually used. 'It' is a locally scoped name binding to a previously mentioned sym
by dTal 8y ago
I'm not sure your definition of 'it' (that is, a default) matches how 'it' is actually used. 'It' is a locally scoped name binding to a previously mentioned symbol. In English, the referent of 'it' is sometimes ambiguous, requiring contextual intelligence that computers lack, so programming languages with 'it' need to be more precise.
Here's 'it' in lisp: https://en.wikipedia.org/wiki/Anaphoric_macro https://en.wikipedia.org/wiki/Anaphoric_macro
- lizmat 8y agoThe official name for "it" in Perl 6 is "the topic variable": https://docs.perl6.org/language/variables#index-entry-topic_variable https://docs.perl6.org/language/variables#index-entry-topic_...