The pragmatist among JVM languages, Scala is a
general-purpose programming language. It was conceived and is generally viewed
as a “better Java,” and of all alternative JVM languages has the best
acceptance in an enterprise setting.
Scala combines the familiar feel of object-oriented Java
with strong language support for concurrency, XML and functional programming
features: many of the tools that contemporary complex and scalable systems
require. Scala also takes a lot of the awkwardness out of Java code, through
features such as type inference and traits.
object HelloWorld
{
def main(args:
Array[String]) {
println("Hello, World!")
}
}
No comments:
Post a Comment