On Fri, 31 Mar 2017 11:12:44 +0300
Konstantin Tokarev <[email protected]> wrote:

> 30.03.2017, 17:33, "Matthew Woehlke" <[email protected]>:
> > On 2017-03-29 18:33, Konstantin Tokarev wrote:
> >>  30.03.2017, 00:17, "Philippe" <[email protected]>:
> >>>  And being able to use a QVector with O(1) by-value assigment, thanks to
> >>>  COW, make it easy to use QVectors "as primitive types", with no
> >>>  reasonning effort.
> >>
> >>  With move semantics you can achieve this without CoW in a more explicit 
> >> way
> >
> > I don't think we all agree that "in a more explicit way" is a *feature*.
> 
> Go write code in JS then. It manages even more things implicitly than just 
> lifetime of your
> data objects, and has much less syntactic overhead.

You quote an extreme case with JS.
Software development is all about tradeoffs...
Qt has put so far the convenience cursor to the right place, IMHO.

I will even say this is the number #1 quality of Qt.

Philippe

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to