TouchDevelop vs Java
When comparing TouchDevelop vs Java, the Slant community recommends TouchDevelop for most people. In the question“What is the best programming language to learn first?” TouchDevelop is ranked 54th while Java is ranked 56th. The most important reason people chose TouchDevelop is:
- Browser based that is semi-structured as well as touchscreen friendly with a configurable presentation.
Ranked in these QuestionsQuestion Ranking
Pros
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.
Pro Verbosity
It makes it easy to debug and to read code.
Pro Mature ecosystem
The language and all its tools have enough time to age and they've aged well.
Pro Type-safe
It is easier to catch errors sooner.
Cons
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.
Con Memory hungry
Running the virtual machine, application server and application itself consumes significant amount of resources.
Con Unnecessarily obtuse and verbose
If you like typing 40 lines of code to open a file, Java is the language for you. If, on the other hand, you’d actually like to get something done, look elsewhere.
Con Oracle
Enough said.
In more detail: Oracle has acquired Java from Sun and continues to surround it with controversy ever since (legendary lawsuit with google, money extortion from the enterprise users etc.).