Re:Why Lua Beats MicroPython for Serious Embedded Devs
by SV_BubbleTime on Sunday July 13, 2025 @11:32AM
(#44551127)
> There are quirks like arrays starting at 1
I know it’s probably and overreaction, but this was a compete non-starter for me.
Re:Why Lua Beats MicroPython for Serious Embedded Devs
by Lyngbakr on Sunday July 13, 2025 @12:14PM
(#44551449)
While I understand the aversion, I can't help but think that people miss out on some really cool experiences when they balk at stuff like 1-based arrays or parens in Lisp or whatever. Sure, those quirks may remain deal breakers after you've given the language a thorough try, but you may also gain super interesting new perspectives in the process.
Re:Why Lua Beats MicroPython for Serious Embedded Devs
by docandrew on Sunday July 13, 2025 @12:39PM
(#44551621)
Not having to put length-1 everywhere is a good thing, actually.
Re:Why Lua Beats MicroPython for Serious Embedded Devs
by const_cast on Monday July 14, 2025 @05:57AM
(#44558195)
Probably just use a .last method or something. Reads better too.
On typing, there's only a few main ones you need to worry about—strings, functions, tables and numbers. I don't think it does weird things like JS where it converts between them without asking. Luau adds some type hinting if it's a big point of concern but I haven't really looked into it much.