lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 23/10/2018 09:10, Thomas Jericke wrote:
Am 22.10.2018 um 19:30 schrieb Tim Hill:


On Oct 16, 2018, at 6:18 AM, Viacheslav Usov <via.usov@gmail.com
<mailto:via.usov@gmail.com>> wrote:

On Tue, Oct 16, 2018 at 2:58 PM Lorenzo Donati
<lorenzodonatibz@tiscali.it <mailto:lorenzodonatibz@tiscali.it>> wrote:

> Now, imagine an identifier like B10010100, where each individual
"character" is in fact a different "version" of a "0" or a "1".
Nightmare!

Especially in Lua, which happily treats any unknown identifier as a
valid global variable.

oоοo𝖔

Cheers,
V.

+1 .. I realize I’m a native English speaker and so biased, but it
seems to me the benefits of Unicode identifiers are far outweighed by
the problems created.

—Tim

What problem can be so bad outweighting the benefit of using 🤮
(U+1F92E) as an identifier?


It could be useful in Lua error messages, though. ;-)

That would clearly be a nice substitute for the "assertion error" message. :-D



--

Thomas