Self-Learn Yourself Scala in 21 Blogs – #1
Self-Biearn Yourself Scala in 21 Blogs – #1
Blog 1 – Scala the basics
Thanks to the communities like LinkedIn, hadoop, Spark, Apache Software, Yahoo and more…from dataottam. As a new learning and sharing initiative we the dataottam team launched “Self-Learn Yourself Scala in 21 Blogs”.
Scala is something Object-Oriented meets functional to have best of both worlds. Scala is for both object oriented and functional programmers; which support both paradigms. In fact Scala is general purpose language that runs on the JVM(Java Virtual Machine) platform. And even Scala can run in .NET platforms. But let’s solve our first questions why one more language if we have already many programming languages like F#, Ruby, Groovy, Clojure, Erlang, and more.. So for learning a new language will be just beginning, but Scala is feature rich language that can use in various big data analytics applications. Why it’s called Scala, it’s simple because of Scalability.
Top 25 pointers of Scala always to be remembered,
- General Purpose
- Express common programming patterns in elegant and type-safe
- Integrates functional and object-oriented programming
- Scala creator – Martin Odersky
- Scala supports both JVM, and .NET platform
- Encapsulation / information hiding
- Polymorphism / dynamic binding
- Predefined types are objects
- Operations are achieved by Objects
- Type abstraction
- Modular mixin(interfaces) composition
- Higher-order fucntions
- Lexical closures
- Pattern matching
- Single assignment
- Lazy evaluation
- Type Interface
- Tail call optimization
- List comprehensions
- Mondadic effects.
- Multi-paradigm language
- Improves productivity
- Does more with less code
Interesting….. The name “Scala” means staircase in Italian. In one of the buildings of EPFL, where the Scala language was developed, there is a modern staircase with a rather interesting shape, which was the inspiration for Scala logo.
Reference – Scala in Action by Nilanjan, and Communities.
Interesting? Please subscribe to our blogs at www.dataottam.com, to keep you trendy and for future reads on Big Data, Analytics, and IoT.
As, always please feel free to suggest or comment firstname.lastname@example.org.