On 28.04.2014 00:55, André Pönitz wrote: > On Sun, Apr 27, 2014 at 01:37:33PM -0700, Thiago Macieira wrote: >> Em dom 27 abr 2014, às 12:55:58, Peter Kümmel escreveu: >>> Having imperative code on the JS side is also the root of the rejection of >>> QML for many C++ developers. If QML would have been just a improved .ui >>> nobody would have complained. >> >> We'd end up with one of the problems of CSS which is that you can't do >> calculations in the bindings. I can't do >> >> width: 50% - 10em >> >> The moment you start adding some math, you need stuff like Math.random() and >> you end up again in JS. > > Not true. Some (basic) math fits the "declarative" needs, and would > be toolable. Math.random() does obviously not fit the bill.
Yes, isn't math by definition only functional, all they talk about is "Given A and B with ... then exists F(A)->B. ... q.e.d." ;) Sorry to all mathematician. > > Andre' > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development > _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development