Scala Best Practices

Combating Fallacy in Scala

Combating Fallacy in Scala: Part 2

Reading Time: 3 minutes Welcome back to this amazing series of Combating Fallacy in Scala: Part 2. For this part, the topic will be “Tuple Unpacking”. So, let’s move forward. Tuple Unpacking Before looking into this, let’s have a look at Tuple in Scala. According to the Scala Docs “A tuple is a neat class that gives you a simple way to store heterogeneous (different) items in the same container.“ A tuple provides Continue Reading

Combating Fallacy in Scala

Combating Fallacy in Scala: Part 1

Reading Time: 3 minutes Hi everyone, I am going to start a blog series related to Scala. This is going to be a bit different as it focuses on things such as some mistakes that we usually do, unknowingly or some concepts that we might not know. So this series is all about exploring Scala and Combating Fallacy in Scala. if you want to be a part then stay Continue Reading

Scala coding styles Guide:- InShort

Reading Time: 3 minutes We all are using the Scala for a very long time now and sometimes we miss some guidelines for writing the Scala code, well this blog guide you through some common Scala coding styles. Lets get started. Indentation:- Scala follows 2 space indentation instead of 4 spaces, well I guess there will be no fight over Tab and 4 Spaces. //WRONG //RIGHT class Foo { Continue Reading

Scala Best Practices

Reading Time: 6 minutes The central drive behind Scala is to make life easier and more productive for the developer — and that includes me. Scala does this with three principal techniques: It cuts down on boilerplate, so programmers can concentrate on the logic of their problems. It adds expressiveness, by tightly fusing object-oriented and functional programming concepts in one language. And it protects existing investments by running on Continue Reading