On 09.10.2011 11:31, Thiago Macieira wrote: > On Sunday, 9 de October de 2011 10:38:51 Peter Kümmel wrote: >> Duck typing? >> >> Is there any mechanism in QML that guaranties that no run-time errors >> will happen when the QML script is interpreted? >> >> Qt5 will introduce static type checking for signal/slots-connects >> so no connect could fail at run-time. But with interpreting QML at >> run-time all the static checks of connects seems worthless when >> QML is used, because much more errors could be introduced by the >> QML script. > > You seem to imply that any UI written in C++ will work out-of-the-box, > regardless of the quality of the code written, just because the slot > connections will error out at compile-time. >
I never said that. Static connect only catches errors at compile times which apart from that would happen at run time. But I have the impression nobody wanna here any critic of QML. Seems all the Trolls have become SCRIPT-KIDDIES, which don't wanna see the advantage of static typed languages. But this already started with QVariant, with all the casting... Peter _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
