"with" should be deprecated with extreme prejudice
Rainer Deyke
rainerd at eldwood.com
Sun May 17 21:21:29 PDT 2009
Andrei Alexandrescu wrote:
> In a member function there's no need to prefix each member.
There isn't, but there should be. IMO.
'with' should be banned.
Implicit access to members of 'this' should also be banned. I always
use explicit 'this->' in C++ and explicit 'this.' in D. It makes the
code much easier to read.
--
Rainer Deyke - rainerd at eldwood.com
More information about the Digitalmars-d
mailing list