Scala is a programming language invented in the year 2003 by Mr. Martin Odersky and his team. Scala released publicly in 2004 on the Java platform. The name Scala is a blend of scalable and languages. That signifies it designed to grow with the demands of its users.
- Scala is a Robust and High-Caliber programming language.
- It is also capable to outrun the speed of the fastest existing programming languages.
- itβs a compiler-based and a multi-paradigm language. Which makes it compact, fast and efficient.
- Scala uses Java Virtual Machine(JVM) for compilation.
- Firstly Scala Compiler compiles the Scala code and generates the byte code for the same.
- After that, it transferred to the Java Virtual Machine to generate the Output.
key features of scala-
- In Scala, there are no static variables or methods. Scala uses a singleton object, which is essentially class with only one object in the source file.
- Here you don,t require to mention data type and function return type explicitly. Scala is enough smart to deduce the type of data.
- In Scala evaluation is lazy by default. Scala evaluates expressions only when they are required.
- Scala provides a standard library that includes the actor model. So you can write concurrency control. Higher-order functions are the function that either takes a function as an argument or returns a function.
to know about what is scala used for- https://codersera.com/blog/what-is-scala-used-for-a-brief-overview/
Top comments (0)