Re:Lua 5.4.0 beta
by bbmario on Thursday October 03, 2019 @09:48AM
(#21146878)
Wish they could improve the language syntax. It's so unnecessarily verbose. Moonscript did a good job improving Lua.
[ Parent
| on HN ]
Most of it I'm pretty okay with. The one big pain point is lambda definitions: you have to do `function(x) print(x) end` each time, instead of `\x. print(x)` or something.
It sounds small, but with callback heavy or embedded DSL code it very quickly adds up.
I love lua syntax, its the only language I feel I actually dont have to look up syntax when I return to it a year later. Its just stupid simple, and that has a big value for me. Maybe Java < 8 also .. also pretty simple but very verbose :)