3 ms·
It is constantly called one of the worst programming languages. Coders i know want to touch lua with a 10-feet pole.
by caligian 3y ago
It is constantly called one of the worst programming languages. Coders i know want to touch lua with a 10-feet pole.
- krapp 3y agoAny language you can pick is considered one of the worst programming languages by at least a small pitchfork-wielding mob of programmers. Like Bjarne Stroustrup said, there are two kinds of languages - the ones people complain about, and the ones no one uses. Getting worked up about defending the honor of programming languages is a waste of time. People either have technical reasons to choose one language over another within a specific use case, which is valid, or else their opinions are based on aesthetics or memes, which you can't really argue against effectively. Just accept that sometimes people won't like the things you like, for reasons you can't accept. Also if you want to use arrays and structs in Lua, and you're fine being stuck with 5.1, you can always just use LuaJIT and have actual C structs and arrays. Best of both worlds, in my opinion.
- caligian 3y agoFar from defending the lang's honour. There are many noteworthy things about lua. Firstly it encourages you to use query-able data structures. Lack of first class objects makes marshalling extremely easy. This is similar to using elixir which only as dicts, lists, tuples and structs. Arguably elixir is even simpler than lua when it comes to describing data because of lack of ANY OOP features that makes the object opaque with getters and setters