type inference

Type Inference : An helpful feature of Scala

Reading Time: 4 minutes Scala comes with very interesting features. One such feature is Type Inference. Type Inference is a very powerful feature of Scala as it helps the developer to develop fast and efficiently. The Scala compiler can often automatically infer the type of an expression (everything in Scala is an expression). This helps the developer write the code without worrying about mentioning the types which are often known Continue Reading