lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I'm very hazy on the benefit of a trait system that relies on self.trait.subtrait.othersubtrait(self). Is it because each trait can remain constant? Why is it more important to have methods in a child operating on a shared pool of variables, when it's possible to put both the variables and methods in children and avoid relying on a large, shared state? It just feels like a very arbitrary separation to me, and goes again the grain of good compositional design.

On Tue, Nov 27, 2018 at 4:12 PM Coda Highland <chighland@gmail.com> wrote:
On Tue, Nov 27, 2018 at 3:09 PM Soni L. <fakedme@gmail.com> wrote:
>
> The first reply on this side-chain was not directed at you, but at Sam Pagenkopf.

Oh, that's really weird. I definitely see that gmail's thread history
agrees with you, but the quote history in that post was my post. Very
odd.

/s/ Adam