Most Useful Scripting Language To Learn?
Displaying poll results.30330 total votes.
Most Votes
- How much of your coding is done by AI coding agents these days? Posted on June 21st, 2026 | 4181 votes
Most Comments
- How much of your coding is done by AI coding agents these days? Posted on June 21st, 2026 | 27 comments
Has to be bash (Score:5, Informative)
Bash has to be the most useful in day to day admin work.
Of course that doesn't make it the best for more complex projects.
Bourne Shell (Score:5, Informative)
I know complaining about lack of options is frowned upon, but I think the bash option should be replaced with Bourne shell (sh). The Bourne shell syntax is supported by sh, ksh, and bash. Bash, on the other hand, is a "new" shell with special features not available in the other shells.
I get frustrated when kids write shell scripts that use bash-special features. There's a reason to write it in basic Bourne shell syntax.
Okay, time for everyone to get off my lawn...
Perl (Score:4, Informative)
Re:MATLAB (Score:5, Informative)
Python + Numpy + Scipy + matplotlib tends to do the job the same, if not better, all whilst being easier to write and debug.
Sorry, but MATLAB is the industry standard. As big of a pain as it is, we have a huge repository of functions already written in it. There's just too much momentum to change. Believe me, I tried!
Re:Bourne Shell (Score:4, Informative)
And it is often a bad choice to use bash in your script. Using sh gives you much more portability, you do not need to worry about which version of bash you are running on: there is only one sh. sh is installed on all unixes. And sh interpretors are faster and lighter than bash interpretors.
Why write complex scripts in bash if you can write them in sh?
It's "Lua" not "LUA" (Score:5, Informative)
Lua is not an acronym. From the Lua web page:
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun.
LuaJIT [luajit.org] is probably the fastest scripting language in existence. I have found for math-heavy algorithms it's as fast as optimized compiled C code. Plus it's FFI interface is stunningly fast, allowing easy fast access to native libraries.
Re:All of them (Score:4, Informative)
Also "scripting" language is pretty stupid concept by the way. There is absolutely no reason why Java (or *any* other language) can't be on this list.
Yes, there is. Scripting languages replace what an operator can execute as a series of commands. Java doesn't do that - it has no provisions for it.
bash and perl are scripting languages. python? Hardly.
Come back with your java once you can do something like
/etc/passwd" | awk -F: '{print $5}' | sort -u
perl -pi.bak -e 's/#include "stdio.h"/#include <stdio.h>/' *.c
or
ssh othermachine "grep 'sh$'
or
vmrun list | grep '^/' | sed 's/^/vmrun suspend "/;s/$/"/' | sh
Scripting languages exist because they're useful - you can do things very quickly.
Re:Has to be bash (Score:5, Informative)
I tend to use perl more than bash or ksh or even csh scripting
Bad idea. Abort, abort.
Use csh (or better, tcsh) as a shell if you like, but don't use it [grymoire.com] for scripting [faqs.org].