On Jun 15, 2012, at 4:03 AM, Alexandre Bergel wrote:
I do not like "el1 draggable" because I want
to keep ROElement as small as possible.
I do not see the point.
You can package extension in separate package and use class extension so ?
Now what I see is verbose code.
I agree with you. I could use class extension. However I am kind of reluctant to use
class extension in this case. Many many methods will have to be defined on ROElement as
class extension. Maybe the tools we use are not good to manage class extension enough.
Really?
Did you look at FAMIX class recently?
I think that if we invest in Roassal we will add a package for adding extensions.
> el1 +
ROBox blue.
what is the advantage over
el1 color: #blue
you can have: el1 + (ROBox new color: Color blue)
Same remark as above I think color: #blue more smalltalk oriented than + and
(ROBox new color:….) is verbose.
How would I resolve #blue into Color blue?
el1 color: Color blue
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev