Skip to content

Instantly share code, notes, and snippets.

@CrazyPython
Created September 1, 2016 00:38
Show Gist options
  • Save CrazyPython/eb19f55adefdc3efe1b263e5fe4cef40 to your computer and use it in GitHub Desktop.
Save CrazyPython/eb19f55adefdc3efe1b263e5fe4cef40 to your computer and use it in GitHub Desktop.
Ideas on scripting languages

Thoughts on scripting languages

JS has the "flavor" of a scripting language.

Very weak type system, beginner-friendly but finicky to work with, and has the simplicity for simple tasks. It's the language anyone can write in with a little experience, the language that's most portable for KOTHs. Many rules can be bent and still work.

Python has the flavor of a normal language but is good for scripting.

It's simple for both simple and complex tasks. It has the libraries to work out-of-the-box. (e.g. webbrowser) It encourages simplicity. Most scripting languages don't allow you to do complex tasks.

Bash

Bash, like JS, has the quirks of weirdness (if [ a ] is different from if [a]!?). Because it is a shell, every terminal command is a library. Like Python, it has the tools needed.

Both langauges are interpreted (classic scripting) and have JIT compilers available to speed them up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment