3 ms·
MoonScript supports classes via keyword, while in Lua you have to implement them yourself. That's about it. You can ignore them, even more so than in JS. MoonS
by elpocko 2y ago
MoonScript supports classes via keyword, while in Lua you have to implement them yourself. That's about it. You can ignore them, even more so than in JS.
MoonScript is dead anyway. Check out yuescript instead: https://github.com/pigpigyyy/Yuescript https://github.com/pigpigyyy/Yuescript
- hnax 2y agolua-classy (https://github.com/siffiejoe/lua-classy https://github.com/siffiejoe/lua-classy) works like gem and is fast!
- elpocko 2y agoIt's 10x larger than it needs to be, and seems to do a lot of unnecessary stuff. I would call this one hopelessly bloated and overengineered and recommend something like https://github.com/Yonaba/30log https://github.com/Yonaba/30log instead.