Scala
Scala takes its name from “scalable language.” It is designed to grow with its users’ needs. Scala runs on a JVM. It is suited for both functional and object-oriented programming. Scala programs are bytecode compatible with Java and you can call either language from the other. Support for the .NET Framework is also available. Scala syntax is much more succinct than Java. Programs are generally shorter to write. Like Ruby, in Scala everything is an object. Types are inferred and do not need to be made explicit. Like Clojure, it suits the desire that many have to perform functional programming on a JVM.
To use Scala on Ubuntu, you write programs in your favorite text editor. To compile, you need the package scala
. To compile, use scalac ...
Get Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.