Is this the old chestnut about direct access versus accessors from a software engineering standpoint or is it a purely technical discussion?
If it's the first, I kind of agree with Igor that *always* using selectors isn't great in Smalltalk, because accessors vs. ivars is the only mechanism we have to decide whether something is private or public. As soon as you make an API public, then you get all kinds of assumptions to fight with the next time you want to change it. If it's the second discussion, please accept my apologies for the interruption :-) Have a good Christmas, Steve On Wed, Dec 22, 2010 at 11:27 AM, Stéphane Ducasse <[email protected]> wrote: >>> Hi guys >>> >>> Ideally I would love to be able to use accessors as the abstraction layer >>> that they can bring us: >>> I mean the fact that we could avoid to have offset based bytecode means >>> that we could reuse a lot more >>> the methods (in special case - mixins and others). >> >> It's simply a bad idea. > > Be scientific, bring real arguments on the table else this is not fun and I > can just not reply to your email or have other preconceived statements. >
