2
C-sucks
3y

f**k the ones who say, "C++ is poor in string manipulation"

Comments
  • 0
    C++ a lot of things improved with 11. Might be a history thing.
  • 1
    A lot of big projects don't use std::string. For the kind of stuff C++ is used for, other data structures (eg. ropes) are much better.
  • 6
    C++ is poor in string manipulation
  • 2
    @RememberMe what's wrong with std::string?
  • 1
    @iiii as such, nothing for basic string stuff. C++ doesn't even need a StringBuilder like Java does because strings are mutable and and std::stringstream is awesome. But "for the kind of stuff C++ is used for" often means applications that need higher performance than ye olde std::string or otherwise some sort of special string handling, so something like https://en.m.wikipedia.org/wiki/... is pretty commonly implemented.
  • 1
    @RememberMe yeah, std::stringstream is the creation of GOD in developer's body.
Add Comment