[Development] QList

Marc Mutz marc.mutz at kdab.com
Fri Mar 31 08:46:12 CEST 2017


On Thursday 30 March 2017 22:32:35 Alejandro Exojo wrote:
> On Wednesday 29 March 2017 20:11:58 Marc Mutz wrote:
> > I would really, really
> > like to know why QVector is easier to use? Because it has indexOf()?
> > Seriously, now?
> 
> Because it has _lots_ of easy to use member functions, and another kind of
> iterator that is also easier to use for some, and good documentation. I'm
> not making this stuff up:
> 
> http://stackoverflow.com/questions/571394/

Oh, I can play this game, too:

http://stackoverflow.com/questions/16559655/
http://stackoverflow.com/questions/38262041/
http://stackoverflow.com/questions/10153658/
http://stackoverflow.com/questions/35811053/

> Hundreds of votes for something immensely simple, that with Qt containers
> is also immensely more readable. Ease of use has a lot more value than
> performance to many people. A thought: how many comments did get the blog
> post that you did on making QRegion iterable? And how many the one about
> the removal of the foreach macro?

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts



More information about the Development mailing list