in reply to Re: The Accessor Heresy
in thread The Accessor Heresy
Inherent in that name is the fact that there is a Radius property, a sort of implicit object. All else being equal, I would prefer to see$myCircle->operate_on_Radius;
If either of us got rid of the concept of Radius, we would have to change our API. There is no benefit of either API over the other as far as that goes. If you change the object model, you have to change the API. Because the API is supposed to reflect the object model.$myCircle->Radius->operate;
|
---|