A nice D coding pattern

MattCoder via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 25 10:19:15 PST 2014


On Tuesday, 25 November 2014 at 13:56:23 UTC, bearophile wrote:
> Right. So the instance data of the struct is more likely 
> correct when you call its methods.

Thanks. - Well I'd like to see more of these tips. My current 
code in D looks like C++ and of course I sure that I'm not 
extracting the power of D. In fact lately I was looking around 
the Phobos source to open my mind for new features.

Matheus.


More information about the Digitalmars-d-learn mailing list