Hi Jean-Baptiste,

just some additions to this thread :)

Jean-Baptiste BRIAUD - Novlog wrote:
> On 17 Sep 2008, at 15:33, Matthew Gregory wrote:
> 
>> Sorry I think you misunderstood me, let me reclarrify for you:
>>
>> there is no default for the extend value so if you don't specify the
>> "extend" keyword in your class definition you are not extending  
>> anything.
>>
> OK, its clear. In fact, as I come from Java, it is a difference.
> 
> What is the meaning (semantic) of a class that inherit from nothing ?
Every class without a "extend" and "type" key in their config is 
normalized to a static class.

> In practice, can I deduce that any class should inherit something, at  
> least Object ?
Any non-static class has to inherit something. I've just added a check 
to the trunk which throws an error if you define a non-static class 
without declaring a "extend" key. This will clear things up :)

cheers,
   Alex


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to