Scala- The home of scripts
Scala

Scala

Details >>

Scala also contains several key concepts of functional languages, Including Higher-Order Function (higher-order Function), local application (Currying), Nested function (Nested Function), Sequence interpretation (Sequence Comprehensions) and so on.

Scala is statically typed, which allows it to provide generic classes, inner classes, and even Polymorphic methods. It is also worth mentioning that Scala is specifically designed to work with Java. NET interoperability. The current version of Scala is not available. NET (although the previous version could -_-b), but it is planned to be available in the future. NET to run.

Scala can interoperate with Java. It uses the scalac compiler to compile the source files into Java class files (that is, bytecode to run on the JVM). You can call all Java libraries from Scala, and you can also call Scala code from Java applications.

Scala features include:

  • Object-oriented feature
  • Functional programming
  • Static type
  • expandability
  • concurrency
  • Scala's framework is available

All in all, Scala is more concise, reasonable, efficient, and powerful than Java.

Expand all