By default, there would be no need to specify getter/setter code.
public property String title;.
Hmm. Not a bad idea. This way an author of MyClass could later on change his property from:
public property String title;
to:
public property String title{
get{
return this.inner_title;
}
set{
this.inner_title=value;
this.doTheHulaHoop();
}
}
....without breaking any API's? Nice! |