<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Andy&gt; I noticed that the Seaside tutorial has code such as:<br>
Andy&gt; html div class: &#39;menu&#39;; &nbsp;with: self menuComponent.<br>
<br>
Andy&gt; Whereas the Scriptaculous demo code does things like this:<br>
<br>
Andy&gt; html paragraph id: &#39;position&#39;; with: position.<br>
<br>
<br>
Andy&gt; I.e. they didn&#39;t bother adding (or using) a getter for position. &nbsp;Who is<br>
Andy&gt; right, or doesn&#39;t it matter, or is there another reason why it would be<br>
Andy&gt; written differently?<br>
<br>
Clearly, position is an instance var, or perhaps a temporary. &nbsp;An instance var<br>
may or may not have accessors, depending on whether it is meant to be tweaked<br>
from the outside. &nbsp;#menuComponent, on the other hand, may be just an accessor,<br>
or it may be a whole pile of code to generate that menu on the fly. &nbsp;At this<br>
point, it doesn&#39;t matter.<br>
<br>
Whether internal accesses to instance vars should use accessors instead of<br>
direct access is a subject to debate (read: religious war). &nbsp;I hope you<br>
haven&#39;t accidentally triggered that thread here. &nbsp;I tend to do the simplest<br>
thing that works, and leave it at that.<br>
<font color="#888888"></font></blockquote><div><br>Great, I am all in favour of pragmatism.&nbsp; Thanks. <br></div></div><br></div>