Hacker News new | past | comments | ask | show | jobs | submit login

I would go one step further and say that there is no meaningful default for these things. It all depends on the context, and there's no single context that is so common that it's the only one that most people ever see. Thus, it should always be explicit, and an attempt to enumerate or index a string directly should not be allowed - you should always have to spell out if it's the underlying encoding units, or code points, or text elements, or something else.



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

Search: