Scala (programming language)

From Simple English Wikipedia, the free encyclopedia

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 978-0981531601. OCLC 290459619.
  2. Odersky, Martin (2014). "The evolution of Scala: PLE'14 keynote". Proceedings of the 1st Workshop on Programming Language Evolution. New York, New York, USA: ACM Press. p. 4. doi:10.1145/2717124.2717126. ISBN 9781450328876. S2CID 38300782.
  3. Potvin, Pascal; Bonja, Mario; Bailey, Gordon; Busnel, Pierre (2013). Lecture Notes in Computer Science. Berlin, Heidelberg: Springer Berlin Heidelberg. pp. 144–162. arXiv:1509.07326. doi:10.1007/978-3-642-38911-5_9. ISBN 9783642389108.
  4. "Frequently Asked Questions - Java Interoperability | The Scala Programming Language". Retrieved 2019-05-22.