[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-devel
Subject:    Re: [Bricolage-Devel] Re: [Bricolage-Commits] Updated POD skeleton.
From:       Mark Jaroski <mark () geekhive ! net>
Date:       2003-04-24 7:41:16
[Download RAW message or body]

David Wheeler wrote:
> On Wednesday, April 23, 2003, at 05:41  AM, Mark Jaroski wrote:
> 
> >OK.  that's the way I had it.  Accessor methods do do other
> >stuff by the way: side effects, which is the whole reason
> >they exist.
> 
> No, that's one reason they exist. The other reason is to prevent direct 
> access to the attributes of the object.[...]

... because you might need to throw an exception or handle a
side effect, so yes, that is the reason they exist.



-- 
--
=================================================================
-- mark at geekhive dot net --


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-Devel mailing list
Bricolage-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic