Private default arguments?

bearophile bearophileHUGS at lycos.com
Fri Dec 28 22:01:42 PST 2012


Jonathan M Davis:

> I really think that this is a non-issue.

It's not a necessary feature, but it helps make the code more 
readable, shorter, keeping it safe. I write several recursive 
functions, and I'd like a way to refer to the function inside the 
function without using its real name, something like self(), or 
even __function(). Private default arguments help further the use 
of recursion.

Bye,
bearophile


More information about the Digitalmars-d mailing list