Randal L. Schwartz wrote:
>
>
> Whether internal accesses to instance vars should use accessors instead of
> direct access is a subject to debate (read: religious war). I hope you
> haven't accidentally triggered that thread here.
>
>
There is a nice discussion of the pros and cons of each
>
>
> Andy> I noticed that the Seaside tutorial has code such as:
> Andy> html div class: 'menu'; with: self menuComponent.
>
> Andy> Whereas the Scriptaculous demo code does things like this:
>
> Andy> html paragraph id: 'position'; with: position.
>
>
> Andy> I.e. they didn't bother adding (or u
> "Andy" == Andy Burnett <[EMAIL PROTECTED]> writes:
Andy> I noticed that the Seaside tutorial has code such as:
Andy> html div class: 'menu'; with: self menuComponent.
Andy> Whereas the Scriptaculous demo code does things like this:
Andy> html paragraph id: 'position'; with: position.
An
I noticed that the Seaside tutorial has code such as:
html div class: 'menu'; with: self menuComponent.
Whereas the Scriptaculous demo code does things like this:
html paragraph id: 'position'; with: position.
I.e. they didn't bother adding (or using) a getter for position. Who is
right, or