On Friday, 20 December 2013 at 09:30:08 UTC, bearophile wrote:
kdmult:

this(int x, int y)
{
  this.x = x;
  this.y = y;
}

In D I prefer:

this(int x_, int y_) {
    this.x = x_;
    this.y = y_;
}

Bye,
bearophile

I concur. And I should probably get used to using 'this' a lot as well.

Maybe it would be a good idea to add this kind of information to the official coding style guide.

Reply via email to