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

True for languages which are case-sensitive.

Other languages like PHP (partially), BASIC or Pascal are case insensitive, so lookup has to be done case-insensitively which means that case has to be normalized, so transforming case of identifier becomes necessary. If it can't be done consistently, that's a problem.



So you use a culture-invariant locale for parsing. Still not a problem.


How do you lowercase in a culture-invariant locale? Or do you mean english?


No matter how you do it, a class name should always match when looked up with an identical string.




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

Search: