[Development] Future of java-style iterators?
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Tue Dec 5 10:06:27 CET 2023
Il 05/12/23 03:52, Kevin Kofler via Development ha scritto:
> Marc Mutz via Development wrote:
>> Until then, either you want to be notified of sub-optimal APIs asap,
> What is "suboptimal" about Java-style iterators, other than that they do not
> work the same way as the STL ones? I find the Java-style iterators to be
> easier to use and less error-prone than the STL-style ones (which, as I
> understand it, is why they were originally added to Qt to begin with).
The huge downside is that they don't work with any algorithms or
range-based facilities. They work, in their little bubble.
My 2 c,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - Trusted Software Excellence
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4244 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20231205/375964ef/attachment.bin>
More information about the Development
mailing list