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

Strictly speaking, this is a disadvantage of languages that have strings as first-class types and allow indexing on strings in the first place (and specify it to have this semantics).

For the most part, the developer shouldn't really care about the internal encoding of the string, but the language/library should also not expose that to them.



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

Search: