News for hackers. Stuff that matters.
Re:Popular Myths about C++, Part 1 by jerf on Tuesday December 09, 2014 @11:58AM (#8723875)
Try that with something that isn't one byte in UTF-8. It won't work. We aren't saying the same thing.
Re:Popular Myths about C++, Part 1 by bkeroack on Tuesday December 09, 2014 @12:40PM (#8724200)
OK. https://play.golang.org/p/Q94GFI02ru

I'm not sure what your point is in this argument? You're saying the above is worse than braindead C ASCII-only strings?

Re:Popular Myths about C++, Part 1 by jerf on Tuesday December 09, 2014 @01:33PM (#8724642)
That promising that "Go strings allow you to index into them to retrieve runes" is overselling Go's string support, of course. That's why I led with that statement, since it is what I was trying to say.

It's best to be correct about how languages work, because when you interest someone in a language via a false statement, they do not end up thinking highly of either you or the language when they discover the falsity. While I'm not sure I'd call myself a Go "advocate", I do prefer that people like and/or dislike it for valid reasons rather than invalid ones.