|
And I'm not arguing about whether you should or shouldn't access member
variables; I prefer setters and getters myself. And while the getter is
pretty much a spelling issue (x = myvar *VS* x = getMyvar()), the setter is
a philosophical issue as well. Does "myvar = x" really indicate that you
are calling something as well as "setMyvar(x)"? That's up to you.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.