When comparing Pyret vs Java, the Slant community recommends Pyret for most people. In the question“What is the best programming language to learn first?” Pyret is ranked 50th while Java is ranked 56th. The most important reason people chose Pyret is:
You can use the development environment without installation in your browser and share your programs via the Google Drive integration.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Online IDE
You can use the development environment without installation in your browser and share your programs via the Google Drive integration.
Pro Designed for education
A primary goal of Pyret is to be an excellent choice for a first programming language. This heavily influences the development of the language. For example: if it's felt that some aspect of the language could be made better for the language's users, The development team won't hesitate about implementing breaking (non backwards compatible) changes into Pyret for the greater good of the language. This makes Pyret an impressively "wart free" programming language.
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 Missing IDE features
For example: content assist, go to declaration, etc.
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.).