In your opinion, what is the best language for scripting?
Trade-offs
Here is some trade-offs:
- It MUST be an interpreted language
- It SHOULD be clear to understand
- It SHOULD run in many environments (different OS and versions)
- It SHOULD allow the code express intentions
- It SHOULD be easy to reuse code
- It SHOULD have some minimal libraries (sets, maps, dictionaries, etc...)
- It SHOULD be easy to resolve dependencies
Some selected
Bash
- π Yes, is is an interpreted language
- π No, it is not easy to understand what is happening....
- π Yes, it run in almost any environment
- π No, it does not express intention
- π No, it is not easy to reuse code
- π No, it is not easy to use libraries
- π Yes, many dependencies are Unix programs
Python
- π Yes, is is an interpreted language
- π Yes, it is easy to understand what is happening....
- π Yes, it run in almost any environment
- π Yes, it express intention
- π Yes, it is easy to reuse code
- π Yes, it is easy to use libraries
- π Sometimes, some old libraries are difficult to find.
Any other option?