lua-users home
lua-l archive

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

2018-07-17 22:37 GMT+02:00 Egor Skriptunoff <>:

> My suggestion is the following:
>    A programmer must explicitly (by means of special syntax) say to compiler
> whether each variable reference is global or not.

It would annoy me.

I write many functions like the following:

function fun(_ENV)
  return x^2+y+2<=r^2

Tihs proposal will break my programs by forcing me to write that second line as

  return \x^2+\y+2<=\r^2

One should not fight one's favorite programming language, but instead
turn its peculiarities into features.

Please fork Lua, call your version Луна and leave contented Lua lovers in peace.