News for hackers. Stuff that matters.
Re:C++ Is the New Python by bsder on Wednesday July 14, 2021 @06:10PM (#27839067)
Exactly. Just look at the mess that is the C++ String.

This, of course, causes everyone to roll their own String, which is probably almost as bad.

So, now we have a zillion String libraries, all of which suck.

All because the C++ standard library doesn't provide a decent String.

Re:C++ Is the New Python by blub on Thursday July 15, 2021 @03:27AM (#27842231)
std::string is not a mess, it's a good general string implementation which should suffice for many applications. Its only sin is perhaps that it does not support Unicode.

If you look for example at other implementations like fbstring, the main benefit is performance.