3 ms·
> marks non-ASCII characters outside of string literals. Many programming languages support non-ASCII variable name characters now.
by lazyjones 11y ago
> marks non-ASCII characters outside of string literals.
Many programming languages support non-ASCII variable name characters now.
- rbinv 11y agoGood point, didn't consider that. Although any good IDE/editor should catch the use of "undeclared" variables and functions.
- TorKlingberg 11y ago> Many programming languages support non-ASCII variable name characters now. Just because you can do something doesn't mean you should. It is usually worth keeping variable names and such in English in enable international collaboration. Also non-ASCII source files can get mangled in transit.
- kuschku 11y agoWell, it does happen, though – look at this weather data from a large German newspaper, it is in a custom format ('|' separated values) and in German: http://wetter.bild.de/data/meinwetter.txt http://wetter.bild.de/data/meinwetter.txt It happens all the time, everywhere, that people write code and stuff in their native language.
- Dylan16807 11y agoThat's data. The suggestion is about variable names.
- kuschku 11y agoWell, the variable names of Bild.de (for example HTML class names) are also in German. It happens all the time, everywhere.