[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Request for 5.4: adding [] as table creation syntax for Lua 6.0
- From: Dirk Laurie <dirk.laurie@...>
- Date: Wed, 13 Jul 2016 07:49:16 +0200
2016-07-12 22:06 GMT+02:00 Reed Weichler <rweichler@gmail.com>:
> IMO it would make the syntax way more simple! The brackets are used for
> table accesors, why not use the same ones for creation?
Have you ever written a compiler? Or even just a syntax file for
a text editor?
Syntax is not simpler because you use fewer symbols but overload them.
On the contrary, it becomes a nightmare.