[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Improve syntax for <close> and <const>
- From: Rob Kendrick <rjek@...>
- Date: Mon, 19 Jun 2023 13:56:35 +0100
On Mon, Jun 19, 2023 at 08:51:46AM -0400, David Sicilia wrote:
> I believe the <...> syntax is generally perceived as being noisy and not in
> line with Lua's otherwise pretty face... can we change it to this:
>
> local my_var close = ...
> local my_var const = ...
That adds two new keywords that breaks backwards compatibility for two
otherwise commonly-used symbol names. I actually like the clean
extendable nature of the <...> syntax and hope one day for us to be able
to add our own decorators through metatables :)
B.