[Laszlo-dev] porting of data classes which use traits to swf9
P T Withington
ptw at pobox.com
Thu Jan 17 19:27:48 PST 2008
Trait should be replaced with mixin and Don should fix http://jira.openlaszlo.org/jira/browse/LPP-5266
:)
On 2008-01-17, at 17:27 EST, Henry Minsky wrote:
> How should we deal with our use of traits in the data classes?
>
> trait LzDataNode {
> ...
> }
>
> trait LzDataElementTrait {...}
>
> class LzDataElement extends LzMiniNode inherits LzDataElementTrait,
> LzDataNode {...}
>
> class LzDataText extends LzMiniNode inherits LzDataNode {...}
>
> Why are we using a trait here? Is there any reason these shouldn't
> just
> subclass lzDataNode. The LzMiniNode
> provides just an implementation of setAttribute, we can just
> implement a
> copy of that method surely.
>
>
> Also, we ought to get rid of LzMiniNode, or implement it cleanly.
>
>
>
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list