October 14, 2008 Re: equivariant functions | ||||
---|---|---|---|---|
| ||||
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.
|
October 14, 2008 Re: equivariant functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to ore-sama | ore-sama wrote:
> 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.
that's why namespaces are introduced.
|
Copyright © 1999-2021 by the D Language Foundation