[Development] QList

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Mar 27 21:09:24 CEST 2017


Il 27/03/2017 21:03, André Pönitz ha scritto:
>>> vector<point> is an ordered collection of points, but a QVector can
>>> contain anything; QVector<void*> can even contain unlike things, which
>>> is truly a tuple. So the problem here is the name QVector. The basic
>>> collection should be called QTuple or QArray, and QVector should mean
>>> QTuple<QPoint>.
>> As Marc already told you, the problem here is that there's already 20+
>> years of experience in the C++ community with the name "vector"
>> indicating a very precise thing (which has nothing to do with geometry
>> or linear spaces).
> Since when is $SOME_COMMUNITY_WE_ARE_INTERESTED_IN is using $FEATURE
> since $ETERNITY a valid argument in this thread here?

When people started doing claims about "how things should be named (and
why)" (which, yes, itself was an unnecessary thread derailment. But I
didn't start *that*.)

Cheers,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170327/dc699838/attachment.bin>


More information about the Development mailing list