On Fri, Jan 25, 2008 at 05:09:35PM -0500, Hans-Christoph Steiner wrote:
On Jan 24, 2008, at 2:31 PM, Mathieu Bouchard wrote:
On Wed, 23 Jan 2008, Hans-Christoph Steiner wrote:
What other programming language has aliases?
Ruby accepts both 'indices' and 'indexes' as selectors in the Array and Hash classes. Ruby has 'alias' as a reserved word.
I mean aliases for functions. I know of no programming language besides Pd (and maybe Max) that has multiple names for functions that do the exact same thing.
Firstly, an index lookup is a function. Secondly, PHP has function aliases as described in my other post. (Since when is [t a a a] an alias of a function anyway? It's two different types of alias - an objectclass and a type. I provided examples of both in my other post).
Best,
Chris.
------------------- http://mccormick.cx