Hi qooxdooers,

I got more a debate than a technical question. With the latest release of
qooxdoo i want to restructure/rewrite my qooxdoo apps, but I'm undecided
about the approach.

I'm interrogating my self, asking around, and googleing about
"classification". And more and more i look into this topic and more i find
out that good classification is not an easy task. In college i've learned to
use Java/C/C++/C#/bash etc, but just the engeneering software class taught
me some basis about classifcation and program patterns, and i feel a lack of
knowledge on this topic.

Let's take the specific case of Qooxdoo. Now I'm interrogating myself about
the fact of if is better or not to use inheritance from the Window class for
every window of my application, or use Mixins with specific functions that
create every window without inheritance. I wonder if there is a performance
gain avoiding inheritance or not.

For smaller simple windows it's kind of a better way to keep all the window
implementations on a single file, but for windows with more complex forms
it's not so good for managing the code.

When I implement a class i need to think that the class is reused multiple
times, if not i feel like it's a waste to instantiate a class that inherits
from another just once (like a Window class).
So i've become a kind of addicted to Mixins that implements specific widgets
without using inheritance.

Just tell me if you think this is a bad habit or not, or if i'm completely
crazy... meh :-P

Really enjoing the new release, I'm amazed of how many new features are in
it.

-----
La coincidenza non ha madre.
--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/About-classification-mixins-and-bad-habits-tp6254246p6254246.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to