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

> Warning, controversial: I'm actually against this.

Yes, please mr I-Only-Speak-English, enlighten us. /s

> I feel that having UTF-8 in source code brings more risks than benefits. [0]

While this is a really fun theoretical attack, has this ever been encountered? A such patch would have to go trough a diff anyway before being accepted. And certainly a "comment" that looks like code has a high chance of getting rejected?

Does it make sense to restrict this feature (that is useful to everyone in the world, except those who only speak English) on account of a very theoretical risk?

> Next to those additional risks it also limits discoverability if `fiancee` now is written as `fiancée`

Just in Italy, it can be written as: fidanzata, zita, morosa, ragazza, picciotta. Certainly the accent isn't the main problem here? Do you want to eliminate all synonyms? All languages other than English?

> I couldn't type it on my QWERTY.

Have you encountered this situation often? If so, just remap your keyboard.

I, for example, have a "w" key that is mostly used in shooter games, since the letter doesn't appear in my language.

> And yes, I know that there are codebases which are non-English, and not even Latin. Those are very valid concerns to which I admittedly have no answer to.

Perhaps allowing unicode in source files could be a solution.




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

Search: