[Qt-interest] Qt Containers (or: why I must use STL)

Michael Bieber qtlist at traits.de
Tue Oct 13 13:09:54 CEST 2009


> Your view. I happen to seriously dislike the STL in every way. boost is just a 
> bloatier version. 


> Still doesn't have decent string class afaik.

Technically, std::string is not part of the STL. From a user point of 
view, QString is the one thing I've always preferred to std::string.

Regarding containers - we had hot discussions here at the time of 
introducing Qt4. Personally speaking, bloating a library is a bigger 
issue in comparison and in the long run. Simply the fat-growing thing is 
evil.
Not to speak about problems in projects, where for the one reason or the 
other both container variants exist, etc..

It always means handling unnecessary complexity. A good interface/API 
should be complete *and minimal*. The last part forgotten far too often 
nowadays.

Micha



More information about the Qt-interest-old mailing list