I hate the syntax for the Rust language. It kind of spoils it for me.
Do people find anything ugly about current Lua syntax?
What about the proposed new syntax <toclose> and <const>?
Regards
Dibyendu
Hi Dibyendu,
To my taste, I would prefer:
`my var : const = 12`
In more ordinary Lua:
`local var: const = 12`
You will note that an object call on the left side is invalid, and would in any case only return an assignable
value (an illogical absurdity, as only symbols may receive values only if it looked like this:
`local var:const() = 12`
which implies that it's a syntax error.
Best,
-Sam.