Re:TIL the assumption that string length does not change whe...
by arcticbull on Monday November 22, 2021 @01:31AM
(#29303462)
That’s what Rust does too, in the standard library offering #1 and #4, UTF-8 bytes and code points. Because they named a code point type a char, though, folks continue to assume a code point is a grapheme cluster. Which it frequently is, and that makes things worse.
[ Parent
| on HN ]