Object-InsideOut - Re: Suggestion for new accessor style

Posted on Sat Jan 21 02:13:17 2006 by jdhedden in response to 1671 (See the whole thread of 2)
Re: Suggestion for new accessor style
This is the first time I've ever seen such an accessor style, so it strikes me as kind of non-standard. I don't really see the utility of '$obj->set_alive_on()' over '$obj->set_alive(1)'. Further, having separate 'on' and 'off' accessors precludes constructs like '$obj->set_alive($bool)'.
Write a response