Evilness object oriented approach in Morph
stéphane ducasse
ducasse at iam.unibe.ch
Tue Jan 24 11:10:29 UTC 2006
Me too. And having a good refactoring tools can support the
introduction of accessors.
> There is nothing wrong with direct-variable access.
> When I first started Smalltalk I thought dogmatic
> accessors for every single instance variable was a
> good thing, now I have learned how much clutter and
> violation of encapsulation it causes. Of course, it
> seems to be pretty much they do on most Java
> projects..
>
> For Morphic in particular, look how many methods we
> have in the API and rendered in the browsers. Less is
> more. Direct-variable access is an upgrade, not a
> downgrade.
>
> - Chris
More information about the Squeak-dev
mailing list
|