News for hackers. Stuff that matters.
Re:It’s Not Wrong that “ ”.length == 7 by insanitybit on Friday June 02, 2023 @09:19AM (#36164672)
Yeah but unfortunately it provides `.len()` directly. It's documented to make clear that it's the bytecount and not the characters, and that humans usually work with characters, but given that this isn't even a trait implementation I think `.as_bytes().len()` or something would have been better.

There are no comments on this comment yet.