Private default function arguments

retard re at tard.com.invalid
Fri Jan 15 04:27:03 PST 2010


Fri, 15 Jan 2010 07:10:00 -0500, bearophile wrote:

> retard:
>>But the private modifier is something that comes from the object
>>oriented approach.<
> 
> Yes, I agree, adding "private" to recursive function attributes is a
> cute nice borrowed from the OOP. It beats the other three alternatives
> I've shown.

Beats? It has serious effects on various parts of the language. 
Documentation tools need to be aware of this. Requires compiler patch. 
You need to educate this to new users etc. Did I already mention it 
increases the complexity of a language that is already fighting 
featuritis.

Bye,
me



More information about the Digitalmars-d mailing list