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

Yes. And uppercase Turkish `i` (which is same to ASCII `i`) is not ASCII `I` but Turkish `İ`. Obviously this behavior is very locale-specific.

> Go and Haskell also have some special (unconventional) treatment of capital letters, which probably make them biased towards the English language.

In Ruby an identifier is considered to start with an uppercase letter when it really starts with an uppercase letter or underscore; that probably is the best compromise for unicase scripts including CJK scripts.



It's a weird language bug. I wish English (and my own tongue) was as consistent with the dots as Turkish is. ;)




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

Search: