3 ms·
I've built something with Lua because the lovely Love2D game lib prescribed it. I hated almost everything about it (globals, stdlib, silly typing discipline, de
by cies 3y ago
I've built something with Lua because the lovely Love2D game lib prescribed it. I hated almost everything about it (globals, stdlib, silly typing discipline, debugging, syntax). Rewrote the whole thing (when it was small) to Kotlin and libKDX (a wrapper over libGDX). Experience was so much better it's not even funny.
Lua felt like JS and PHP had a secret child they abandoned and somehow survived up growing up in a dumpster.
I know I should not bash open source software: I know it takes a lot of work to build/maintain it. I'm merely reacting to this post.
- jacknews 3y agotbh they seem like two completely different worlds, and if you're experienced in the java ecosystem (or have a C/C++ mentality), then this makes perfects sense. But I'm not sure java is exactly without criticism either. Lua and Love2D (and with Fennel on top) makes for a good teaching setup, IMHO.
- cies 3y agoI'm experienced across many languages. Including Haskell (professionally), Rust (for fun) and Ruby/Python/TypeScript. When you say "fennel on top", sure that makes all the difference! I've argued in favour of using a LISP/Scheme for teaching students in the local uni i'm active in, but the businesses requesting "give us close to Java/C# certified graduates" won. Edsgar Dijkstra wrote a nice piece on this. https://www.cs.utexas.edu/users/EWD/transcriptions/OtherDocs/Haskell.html https://www.cs.utexas.edu/users/EWD/transcriptions/OtherDocs...
- caligian 3y agoWhile attempting to teach callbacks to a room full of C# devs i figured lua was the easiest for creating readable examples. The language has very good teachable aspects. I'd pick lua over python as a teacher to teach data structures
- caligian 3y agoI agree with your criticism. I could not properly use lua without creating my own set of table utils and structs (they are faster than classes)