Hacker News new | past | comments | ask | show | jobs | submit login

Qt and MFC are quite a bit older than 2001/2002. It makes sense to avoid std::string in the early or mid 90s. By 2001, though...



Even std::string today isn't perfect and on more than one project I have replaced it. :\


I find QByteArray and QString more useful and complete than std::string, yet we keep our interfaces to std::string or const char*, since this would reduce external dependencies for other folks that want to use the library (also the learning process, and less include files).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: