roxen.lists.pike.general

Subject Author Date
"this" keyword in constructors (7.8) Jeff Ober <jeffober[at]gmail[dot]com> 10-03-2009
Private members are not available using "this" from create().  For example:

private int foo;

void create(int foo)
{
  this->foo = foo;
}

Is this the expected behavior?

It's not a big problem and can be avoided by renaming create's
parameters, but it is inconvenient since there are only so many
descriptive variable names :).

Jeff Ober
-- 
Old programmers don't die; they just parse on...