News for hackers. Stuff that matters.
Re:Lua Is So Underrated by wruza on Thursday December 26, 2024 @08:52PM (#42519342)
Absolutely so. It’s just one obvious thing from a large set of issues with it.

One can read through “mystdlib” part of any meaningful Lua-based project to see it. Things you’ll likely find there are: NIL, poor man’s classes, __newindex proxying wrapper, strict(), empty dict literal for json, “fixed” iteration protocols.

You don’t even have to walk too far, it’s all right there in neovim: https://neovim.io/doc/user/lua.html

Re:Lua Is So Underrated by kragen on Thursday December 26, 2024 @10:01PM (#42519609)
This is very valuable! Thank you!
Re:Lua Is So Underrated by usrusr on Friday December 27, 2024 @08:17AM (#42521830)
Perhaps that's the secret to lua's success: they got the basics so wrong that they can't fall into the trap of chasing the dream of becoming a better language, focusing on becoming a better implementation instead. Or perhaps even more important: not changing at all when it's obviously good enough for the niche it dominates.