DASH vs TouchDevelop
When comparing DASH vs TouchDevelop, the Slant community recommends DASH for most people. In the question“What is the best programming language to learn first?” DASH is ranked 52nd while TouchDevelop is ranked 54th. The most important reason people chose DASH is:
Dash has a very fast startup, this happens because the shell is started a lot of times during boot and dash minimizes the work it does during this process.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Fast startup
Dash has a very fast startup, this happens because the shell is started a lot of times during boot and dash minimizes the work it does during this process.
Pro Low memory usage, which matters a lot in embedded
It is designed to be very lightweight and has no support for shell specific extensions that are not POSIX.
Pro Default shell on Debian systems
DASH is the default shell for Debian based systems due to it speed, full POSIX compliance and low overhead.
Pro Full POSIX support
It's fully POSIX compatible, so if your script runs on dash it will probably run on all other shells.
Pro A perfect clone
It's a clone of the original System V4 Bourne shell.
Pro Advanced editor
- Browser based that is semi-structured as well as touchscreen friendly with a configurable presentation.
Pro Powerful APIs
APIs exist for persistent and shared data as well as for game engines and accelerometer, geolocation etc.
Cons
Con Doesn't support all bash features
Dash does not support all bash features, sometimes called 'bashisms' unless explicitly pointed at /bin/sh
.
Con No collection literals
Collections can be initialized only verbosely.
Con No union types
There are no ADTs, not even enums.
Con No advanced expressions
There is no conditional expression or pattern matching.