News for hackers. Stuff that matters.
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.

or any number of other string issues.

Re:Leaky Abstractions by an1sotropy on Friday June 04, 2021 @11:22AM (#27394485)
yea good point. Unicode does overwhelm simplistic ideas about string representation. Love those grapheme clusters.