Object oriented

background

SOLID Principle in Scala

Reading Time: 3 minutes Introduction SOLID is one of the most popular design principles in object-oriented software development. Adopting these practices can prevent code smells, refactoring code, and Agile or Adaptive software development. It was promoted by Robert C Martin and is used across the object-oriented design spectrum. It’s a mnemonic acronym for the following five design principles : I’m going to try to explain SOLID Principles in the Continue Reading

scala

Understanding the Concept of OOP: Its Four Pillars

Reading Time: 3 minutes This blog is in the continuation of its first part where we discussed the basic part of object-oriented concepts. In this blog, we will cover four pillars in the object-oriented world of programming in Scala. OOPS Four Pillars Four pillars are basically the software design principles that help you to write clean Object-Oriented Code and these are: Abstraction Encapsulation Inheritance Polymorphism Let’s take a closer Continue Reading

Scala Beginner Series (2) : Object Oriented Scala

Reading Time: 7 minutes This series is all about the taste of Scala.It is best suitable for all the newbies in Scala. You may also like: Scala Beginner Series (1) : Basics In the previous part, we covered: Values, variables, expressions and types Functions and recursion The Unit type This article will cover the object oriented nature of Scala language. Classes Scala has the same concept of a class as we Continue Reading

The Law of Demeter

Reading Time: 3 minutes You’ll often get to hear from good programmers about having “loosely coupled” classes. What do they mean by saying that? Let’s understand this first before jumping onto the Law of Demeter. Loosely Coupled  In object-oriented design, the amount of coupling refers to how much the design of one class depends on the design of another class. In other words, how often do changes in class

OOPs concepts and Scala

Reading Time: < 1 minute Recently Knoldus delivered a training at a huge bank in Singapore and Mumbai, India to get them started with Scala. The team mostly coming from the imperative background was first updated on the best way to develop software in an object oriented way and then for 3 days were immersed in the Scala sessions. What follows is the part one where the team was reinforced Continue Reading