Comment on What are the recommended scripting languages for complex shell scripts beyond bash?
darcy@sh.itjust.works 1 year ago
i would say lua if possible, but python has more libraries
Comment on What are the recommended scripting languages for complex shell scripts beyond bash?
darcy@sh.itjust.works 1 year ago
i would say lua if possible, but python has more libraries
UndercoverUlrikHD@programming.dev 1 year ago
I’m curious on why you would recommend Lua if available. Is language speed a typical limiting factor for your scripts?
I’m mostly asking since when I was forced to use the language it was nothing but annoyance. The 1 indexing and “if then/for do” will annoy me till my grave.
darcy@sh.itjust.works 1 year ago
just for simple tasks, where i need something between the simplicity of bash and the type safety of rust. its just my personal preference when it comes to scripting, although i do believe it should be the first consideration for choosing a user friendly but powerful embedded or config language, like for neovim, especially if performance is a concern, but it will ofc not always be the best option. the 1 index is certainly annoying though, but i would personally rather that than anything to do with python, especially whitespace. the
if…then
andfor…do
is the same as bash, so i dont think its that bad