Object-Oriented Programming in Scala

Reading Time: 3 minutes Object-oriented programming (OOP) is a computer programming model that organizes software design around data, or objects, rather than functions and logic. Scala is also an Object-Oriented language and in this blog, we will see how we achieve that in scala. Classes in Scala Class is like a blueprint for a real-world entity which we call object in programming languages. It provides the initial values for state Continue Reading

Polymorphism and its types in Scala

Reading Time: 4 minutes What is Polymorphism : The simple meaning of polymorphism is a function that has multiple forms. The word Polymorphism is a combination of two words Poly and morphism, poly means many and morphism means form. Functions with the same name are implemented in multiple forms in Polymorphism. The most common use of polymorphism in object-oriented programming occurs when a parent class reference is used to Continue Reading

Object Oriented JavaScript: Polymorphism with examples

Reading Time: 2 minutes Again this is not the advance topic of JavaScript but it relies under Object Oriented JavaScript & polymorphism is one of the tenets of Object Oriented Programming (OOP), we all know what is Polymorphism from other languages (like C#, Java etc) but we always think when to use it, why to use it and how to this, and most of us are still in confusion Continue Reading