8 ms·
In Javascript, many unicode characters are allowed [0], so háćḱéŕŃéẃś is a valid variable name [1]. Note: The number of іllэБіъlэVаѓіаъlэИамэѕ [2] used in your
by sthlm 12y ago
In Javascript, many unicode characters are allowed [0], so háćḱéŕŃéẃś is a valid variable name [1].
Note: The number of іllэБіъlэVаѓіаъlэИамэѕ [2] used in your production code is inversely proportional to the number of friends you'll make in the maintenance team.
[0] https://mathiasbynens.be/notes/javascript-identifiers https://mathiasbynens.be/notes/javascript-identifiers
[1] https://mothereff.in/js-variables#h%C3%A1%C4%87%E1%B8%B1%C3%A9%C5%95%C5%83%C3%A9%E1%BA%83%C5%9B https://mothereff.in/js-variables#h%C3%A1%C4%87%E1%B8%B1%C3%...
[2] http://www.panix.com/~eli/unicode/convert.cgi?text=illegibleVariableNames http://www.panix.com/~eli/unicode/convert.cgi?text=illegible...
- jarek 12y agoI had quite a lot of fun defining 汉字 variable names in C#. Though definitely not something to put into production code of course...