Hi Alex, On Thu, 17 Dec 2009, Alexander Steitz wrote:
> On Wednesday 16 December 2009 Fritz Zaucker wrote: >> I just rebuilt one of our applications with the latest trunk and found no >> problems, neither in the build process nor at run-time. Obviously, this is >> not a rigerous test, but at least it keeps me confident in running the >> latest and greatest Qooxdoo ... > Thanks for the testing :) your're more than welcome. I implemented a prototype application for a potential customer this morning, everything fine with the current release for me. >> Looking it up in the API viewer I "guessed" that I should use the string >> "dataChanged" instead (my first guess was to use >> "EVENT_TYPE_DATA_CHANGED"). So perhaps the deprecation message could be >> improved a bit: >> >> The constant 'EVENT_TYPE_DATA_CHANGED' is deprecated: New code >> should not use this. Instead, use the text string 'dataChanged' >> literally. >> >> Just a minor point, but it might save some people a couple of thoughts. > I just comitted this change to the framework. Thanks for watching out! Cool/ >> P.S.: What's the idea behind using literal strings instead of constants, >> btw? > > We want to reduce/remove all constants in the framework. They do not have > any benefit. Additionally you can't recognize automatically any typos > which may lead to errors in your application. Thanks for the explanation, seems to make sense. Cheers, Fritz -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
