Author: Rashid

All you need to know about MultiThreading In Scala

Reading Time: 2 minutes A process in which multiple threads execute simultaneously is called multithreading. It allows you to perform multiple tasks independently. What are Threads in Scala? Threads are lightweight sub-processes that occupy less memory. A multi-threaded program contains two or more threads that can run concurrently and each thread can handle a different task at the same time making optimal use of the available resources especially when your system(computer) has multiple CPUs. Multithreading Continue Reading

All you need to know about Classes and Objects in Scala

Reading Time: 3 minutes Class A class is a user-defined blueprint or prototype which creates the objects. Or in other words, a class combines the fields and methods(member function which defines actions) into a single unit. Classes in Scala are blueprints for creating objects. They can contain methods, values, variables, types, objects, traits, and classes which are collectively called members. Declaration of class In Scala, a class declaration contains the Continue Reading

All you need to know about Scala

Reading Time: 3 minutes What is Scala? Scala stands for Scalable Language. It is a multi-paradigm programming language. It combines object-oriented and functional programming in one concise, high-level language. Scala’s static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries. Why to Use Scala? It is a dynamic and strongly statically typed language Continue Reading