Programming

When block

A typical switch is essentially just a declaration that can substitute a series of if / else statements that are underlying.

Read More

Difference between val and var

Let’s learn about the actual difference between val and var.

Read More

Sealed class

Sealed classes are used for representing restricted class hierarchies, when a value can have one of the types from a limited set, but cannot have any other type.

Read More

Null safety

Kotlin’s type system is aimed at eliminating the code’s risk of null reference because it is a very common and easily produceable error.

Read More

Strategy Pattern

Strategy Pattern Well we all know Object-oriented programming (OOP) is a programming method based on the concept of “objects”.

Read More