Try

Introductory Scala Concepts (Pattern Matching, Option, and Try/Success/Failure)

Reading Time: 4 minutes Pattern Matching: Scala Pattern matching is one of the features of functional programming that make it such an awesome paradigm. This tool is somewhat similar to switch statements you might be familiar with from other languages such as Java or Python, however Scala pattern matching is a much more powerful tool. In short, pattern matching allows one to check a value against a pattern as Continue Reading

monads

Back2Basics: Exception Handling – #1

Reading Time: 3 minutes While building an application, it is common that something might go wrong. What if there is an attempt to divide a number by 0 or fetching the data from the database which does not exist, or reading a file which can’t be located? We need to handle such situations to make sure our application does not go down. Every language provides ways to handle such Continue Reading