reference to 'self' inside a function

angel andrey.gelman at gmail.com
Wed Jul 18 05:49:35 PDT 2012


> True, but the concept could still be used, we just need some 
> syntax.

IMHO introducing a new keyword is the clearest solution.
As for the danger of breaking existing code, let's face it, there 
is no whole world legacy written in D with extensive use of 
'thisFunc' keyword.



More information about the Digitalmars-d mailing list