When comparing Ammonite Shell vs rc (shell), the Slant community recommends rc (shell) for most people. In the question“What are the best Bash replacements?” rc (shell) is ranked 5th while Ammonite Shell is ranked 14th. The most important reason people chose rc (shell) is:
rc is a very simple and easy to learn shell.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Powerful
Can call any 3rd party executable or use any Maven library.
Pro Easy to automate any task
When bash scripts start being complex, they can be converted to Ammonite.
Pro Tab completion
Pro Well documented
Pro Simple
rc is a very simple and easy to learn shell.
Pro C-like syntax
rc has very C-like syntax, which is very helpful for people who are used to C-like programming languages and will find rc's syntax very enjoyable. For example:
for (i in `{seq 1 100}) {
echo $i
}
Pro Sane array handling
In rc $array
expands to the whole array and if one of the elements of the array has spaces in it, it's still considered one single element after the array variable expansion.
Cons
Con Uses JVM and more memory than regular shells
Con Lacks return statement
rc has no return
statement.