4 ms·
> I don't think people manipulating char[] representations of strings are ever at risk of forgetting that it's just an array of chars and yet, when people sta
by chii 5y ago
> I don't think people manipulating char[] representations of strings are ever at risk of forgetting that it's just an array of chars
and yet, when people start adding unicode text under this representation, and the program fails to work properly. Or when counting characters, and assume the glyph count would match the char array length.
or any number of other string issues.
- an1sotropy 5y agoyea good point. Unicode does overwhelm simplistic ideas about string representation. Love those grapheme clusters.