4 ms·
I low-key dislike when people nitpick titles, but in this case I'll do it (: The title makes it sound like this is a variant of Lua, or somehow largely compati
by turtledragonfly 4y ago
I low-key dislike when people nitpick titles, but in this case I'll do it (:
The title makes it sound like this is a variant of Lua, or somehow largely compatible.
The page itself is more clear, calling it a "programming language with a Lua flavor".
Emphasis on "flavor".
I feel like the list of differences from Lua is about as big as the similarities, and it's definitely not a drop-in replacement, at least in its current form (contrast with something like LuaJIT).
- shadowofneptune 4y agoOf the features to selectively take from Lua, the syntax is one I like. Pascal-style syntax does not have the statement separation issues a more expression-rich language like JavaScript has. It not only does not have statement separators, it is almost completely whitespace agnostic. As a strategy to get adopters, it could also have value. There's a small but widely spread group of people who have been exposed to Lua in various games and programs.
- orange_fritter 4y agoTo me the killer language feature of Lua is tables, specifically being able to use ANYTHING as an index in a table. Really powerful. Its portability is its next feature. Beyond that, I have grown to somewhat dislike Lua over the years due to the typical complaints, but also because it's tough to read and write. The keywords are so bulky and whitespace practices are random, requiring a linter. I actually like using brackets instead of do/then/end because brackets stand out more. When you're tossing functions around left and right, it's annoying to write out "local function" everywhere. I also am ambivalent about using metatables for implicit behavior that can be non-obvious to the code reader.
- imtringued 4y agoUnfortunately Wren adoption is practically nonexistent.
- deleted 4y ago[deleted]
- int_19h 4y agoI'm not sure if that's the intent, but "ne Lua" literally means "not Lua" in most Slavic languages.
- canadianfella 4y ago[dead]