[Development] QList

Simon Hausmann Simon.Hausmann at qt.io
Fri Mar 31 08:57:50 CEST 2017


Hi,

To me this appears to be comparing the questions that new learning programmers have with questions of seasoned C++ programmers. I understand that we should cater both with Qt, but the topic at this point of the thread is the former group, not the latter.

Simon

> On 31. Mar 2017, at 08:41, Marc Mutz <marc.mutz at kdab.com> wrote:
> 
>> 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
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list