Scala (Programming language)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Scala is a general-purpose programming language—a language that is designed for solving all kinds of problems, not just a specific one.[1]

It provides support for functional programming, and is statically typed. It is designed to fix some problems with Java[2], and to be concise—to be able to express a lot with only a little bit of code.[3]

Scala code is supposed to be compiled into Java bytecode, so Scala code can be run on a Java Virtual Machine (JVM). Scala has language interoperability with Java—Scala code can be used in Java programs, and the other way around.[4]

References[change | change source]

  1. Odersky, Martin. (2008). Programming in Scala. Spoon, Lex., Venners, Bill. (1st ed., version 9 ed.). Mountain View, Calif.: Artima. ISBN 0981531601. OCLC 290459619.
  2. Odersky, Martin (2014). "The evolution of Scala". Proceedings of the 1st Workshop on Programming Language Evolution - PLE '14 (New York, New York, USA: ACM Press). doi:10.1145/2717124.2717126. ISBN 9781450328876. http://dx.doi.org/10.1145/2717124.2717126. 
  3. Potvin, Pascal; Bonja, Mario; Bailey, Gordon; Busnel, Pierre (2013). Lecture Notes in Computer Science. Berlin, Heidelberg: Springer Berlin Heidelberg. pp. 144–162. ISBN 9783642389108.
  4. "Frequently Asked Questions - Java Interoperability | The Scala Programming Language". www.scala-lang.org. Retrieved 2019-05-22.