3 ms·
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
by lifthrasiir 11y ago
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.
- throwaway999888 11y agoIt's a weird language bug. I wish English (and my own tongue) was as consistent with the dots as Turkish is. ;)