2010/3/16 Maurice Gittens <[email protected]>: > But when you invent your own meaning for known concepts it is hard to have > an informed > disscusion. Current WTimer is not a timer like other timers but some special > thing invented by Emweb. > > This violates the principle of least surprise because folks expect that Wt > behaves like a typical > UI library (like for example Qt). >
I think you're being a little unfair to Wt. Qt's documentation states that a QTimer only works in threads with an event loop. The same thing applies to Wt's WTimer. Insofar, Wt behaves like a typical UI library. So what is different: (1) we don't state it explicitly in the documentation, and (2) you can't start your own event loop in Wt. > > Please kindly consider ways to save folks the time wasted by: > - unclear interfaces > - hidden dependencies > - and misleading documentation > We welcome suggestions to improve our documentation as much as bug reports. Point taken, WTimer documentation needs clarification. I created an issue report for it on our redmine so that this gets fixed shortly. http://redmine.webtoolkit.eu/issues/show/335 Best regards, Wim. ------------------------------------------------------------------------------ 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 _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
