> jamesr wrote:
> Again, i don't believe a mixin is the way to go.
> my major complaint is that when you use the with keyword,
> unless you read the documentation for the mixin,
> how do you know what attribute applies to what mixin?
> This relates to my previous conversation about how to do traits (mixins, etc) in laszlo.

Previously you mentioned 3 ways to implement what you call traits.
- First one was exactly what mixins are now in laszlo.
- Second one was a way to emulate partially the functionality of mixins without actually using mixins.
- Third option I could not understand.

Then you go on to say that unless you read the documentation of a mixin you use you don't know what it will do.
But this applies to classes, too.
So should we do away with classes, too?
In fact I am not aware of any type of component that you can safely use without knowing anything about it.

Summa summarum: I would like to hear what exactly you feel is wrong with mixins.

With outmost respect and reverence,
Rami Ojares



Reply via email to