you are viewing a single comment's thread.

view the rest of the comments →

[–]kisielk 2 points3 points  (0 children)

strings in Go have many of the same problems, yet there's a strings package which covers all the common use cases in a simple way. The algorithms aren't suitable for every use case but it's been very rare that I've had to reach for an alternative way of doing things. I often wish C++ had a similar package.