<br><br><div class="gmail_quote">On 11 November 2010 22:47, Walter Prins <span dir="ltr"><<a href="mailto:wprins@gmail.com">wprins@gmail.com</a>></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 "share" the same variable(s) that's commonly visible to each of them due to paramter passing as shared "state" 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't read very well. Here'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 "share" what would've been paramters or globals as object-level state variables, hence
removing the need to pass parameters around all over the place.<br>