3 ms·
It's a really bad choice for a Bash replacement You have to reinvent the wheel every other day since the standard library doesn't come with much included
by sebstefan 2y ago
It's a really bad choice for a Bash replacement
You have to reinvent the wheel every other day since the standard library doesn't come with much included
- anilakar 2y agoThat's the main reason people have so mixed opinions about the language. If you're stuck with the standard library (hello gsub!) and the application-specific library is an incoherent collection of functions, you're going to have a really bad time. That's the case too often because it's easier to plug the VM into an existing program than it is to create bindings that are not painful to use. OTOH a well thought out environment makes you forget you're programming in Lua.
- sebstefan 2y agoI don't need to forget that I'm programming in Lua, I think it's a great little language Just terrible standard library
- pmarreck 2y agoHave there been any unofficial attempts to make a stdlib for it?
- giraffe_lady 2y agonah
- RunningDroid 2y agoPenLight might count: https://lunarmodules.github.io/Penlight/ https://lunarmodules.github.io/Penlight/
- pmarreck 2y agoit has no regex? eeek
- anilakar 2y agoWhat I hate with passion is that the first thing you do is write your own pseudo-regex wrappers for missing string manipulation functions you'd consider standard in other languages.
- pmarreck 2y agoIt seems that it has something that is close enough to regex to do the job most of the time