On 04/03/2010 06:54 AM, Sakesun Roykiattisak wrote: > > Hi, > > Just curious about the "single Definition" code structure. > > > http://qooxdoo.org/documentation/1.0/code_structure > > > > Is it the mandatory rule or merely a suggestion ? > > > My simple experiment reveal that multiple definitions per file is allowed. > > (Which is good, since, personally I'm not too crazy about Java-like > structure) > > > But I need some confirmation that this is not a crucial constrain.
Indeed, multiple class definitions per file are working currently. What you lose is some of the dependency tracking, e.g. you will get "Unknown symbol referenced" warnings for classes other than the first. And I'm not sure about completely resolving the class dependencies for classes other than the first. Also, we might make single-class files mandatory any time :). T. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
