|
|
|
|
|
by LukeShu
3846 days ago
|
|
I'm not the user you're asking, but: - It used to be that Qt was massive; because it existed before ubiquitous, usable STL implementations, Qt had to essentially also ship its own C++ standard library. Which meant that you couldn't use standard C++ strings, you had to use QString, and so on. This is less true with Qt 4 & 5, but reputations stick around. - Often-times C++ APIs are a pain, even if you are using C++, many people have the opinion that the API exposed should be C. |
|
And the STL data structures are sometimes kind of unwieldy:
is lame compared to the easily understood: Not to mention all the stupid inconsistencies: And my favorite annoyance, the fact that std::vector::size() returns unsigned int, despite the fact that for practical purposes you aren't going to get anywhere near even 2 billion elements without running out of memory (or other performance problems), so I'm stuck writing or omitting the "unsigned" and getting lots of compiler warnings. I get why they would have done it; I would have done it too. Until I used Qt, then I like how everything is simply int. I suppose if you are doing physics simulations or something you might need something different, but it's the rare GUI program that needs unsigned int for size.