Re:Leaky Abstractions
by chii on Friday June 04, 2021 @01:17AM
(#27390832)
> 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.
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.