[Interest] Why does QML prefer 'count' over '.length'?

Jason H jhihn at gmx.com
Tue Jul 26 19:02:29 CEST 2016



> Sent: Tuesday, July 26, 2016 at 12:40 PM
> From: "Thiago Macieira" <thiago.macieira at intel.com>
> To: interest at qt-project.org
> Subject: Re: [Interest] Why does QML prefer 'count' over '.length'?
>
> Em terça-feira, 26 de julho de 2016, às 15:59:27 PDT, Jason H escreveu:
> > I've pretty much standardized on the JS 'length' property, but why does all
> > the Qt/QML stuff use .count? the C++ API used size().
> 
> The C++ API has all three.

I seem to remember that too. Would it be possible to at least add .length so that we conform to the norm?



More information about the Interest mailing list