<br><br><div class="gmail_quote">On 11 November 2010 22:47, Walter Prins <span dir="ltr">&lt;<a href="mailto:wprins@gmail.com">wprins@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 Enter object orientation: If instead however, you turn those functions into a class, you can then instead have them all &quot;share&quot; the same variable(s) that&#39;s commonly visible to each of them due to paramter passing as shared &quot;state&quot; variables of the object they belong to, hence removing the need to pass the variables around all over the place. <br>
</blockquote></div><br>Sorry I read my own post and the above doesn&#39;t read very well.  Here&#39;s an attempt at improving it:<br><br> Enter object orientation: If instead however, you turn those functions 
into a class, you can then instead have them all &quot;share&quot; what would&#39;ve been paramters or globals as object-level state variables, hence 
removing the need to pass parameters around all over the place.<br>