From: Jim Freeze Date: 2005-09-28T05:49:56+09:00 Subject: Re: Class and Iterator Design Question On 9/27/05, Robert Klemme wrote: > - My rule of thumb, if the object's main task is to be a container, give it > an each method - this makes usage for clients convenient (example TreeNode, > each will iterate child nodes). > > - If there are several containers contained :-) then make them accessible > and let clients work with them. You save yourself a lot of hassle and name > collisions (KISS). Thanks Robert. That's good advice. -- Jim Freeze