Phoenix.pm: Accessor Methods

Tran Forsythe tran_fors at yahoo.com
Tue Apr 30 20:19:00 CDT 2002


*laugh* Yeah, I remember, though I'm amazed anyone else did ;)  I almost
always use 'em myself, I was really just playing devil's advocate, seeing if
there was a reason other than "good form".  Looks like you found one; thanks
for letting me in on it ;)

-Kurt

----- Original Message -----
From: "Doug Miles" <doug.miles at bpxinternet.com>
To: "Phoenix.pm" <phoenix-pm-list at happyfunball.pm.org>
Sent: Tuesday, April 30, 2002 10:58 AM
Subject: Phoenix.pm: Accessor Methods


> Hey Kurt!
>
> You asked a question a few meetings ago about the reason for using
> accessor methods. (I hope you remember what I'm talking about. :) )  I
> dind't have a very good answer before, but I do now.  I just had to
> change a couple of instance attributes to class attributes.  These
> particular attributes are used all over the place in my code.  By using
> accessor methods, I was able to just change the accessors, and nothing
> else, which save me a lot of work.  I hope that answer is more helpfull.




More information about the Phoenix-pm mailing list