News for hackers. Stuff that matters.
Re:It's Not Wrong that " ".length == 7 by BobbyTables2 on Saturday August 23, 2025 @09:39PM (#45000566)
Very true. Rust’s handling of strings was an eye opener for me.

Seemed awkward but I eventually realized I rarely cared about number of characters. Even when dealing with substrings, I really only cared a means to describe “stuff” before/after not literal indices.

Counting Unicode characters is actually a disservice.

There are no comments on this comment yet.