Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: