[Interest] Why does QML prefer 'count' over '.length'?
J-P Nurmi
jpnurmi at qt.io
Tue Jul 26 19:57:29 CEST 2016
On Tuesday, July 26, 2016 19:02, Jason H <jhihn at gmx.com> wrote:
> I seem to remember that too. Would it be possible to at least add .length so that we conform to the norm?
Adding .length to QML "stuff" is not very specific. Where exactly would you like .length to be added? For something like ListView, both .length and .size would be ambiguous, whereas .count is not that easy to misunderstand, is it?
--
J-P Nurmi
More information about the Interest
mailing list