Anthony Lorelli
"Why can't a dog simulate pain? Is he too honest?" -Wittgenstein
Sunday, September 15, 2002
The most obvious application of noun inflection in programming language design - so obvious that I missed it until tonight - is as a replacement for the idea of scope. If I have two variables with the same name, how do I determine which one is used when I refer to it? Generally this is governed by some sort of scoping convention included in the lanugage, the two most common being lexical and dynamic. Using inflection suggests changing the form of the variable name to indicate which verb (function - or group of functions) it belongs to.
"Why can't a dog simulate pain? Is he too honest?" -Wittgenstein
The most obvious application of noun inflection in programming language design - so obvious that I missed it until tonight - is as a replacement for the idea of scope. If I have two variables with the same name, how do I determine which one is used when I refer to it? Generally this is governed by some sort of scoping convention included in the lanugage, the two most common being lexical and dynamic. Using inflection suggests changing the form of the variable name to indicate which verb (function - or group of functions) it belongs to.