equivariant functions

ore-sama spam at here.lot
Tue Oct 14 01:15:12 PDT 2008


Andrei Alexandrescu Wrote:

> In programming languages growing the vocabulary indiscriminately is 
> worse because it chews into the vocabulary available to user-defined 
> symbols.

What chews now is library's vocabulary:

class Director{...}
class Department
{
  Director Director() //compiler: ^3^ chuuu~
  { return director; }
}

while in C# this feature is used widely.



More information about the Digitalmars-d mailing list