Scala Language Working with data in immutable style

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

Value and variable names should be in lower camel case

Constant names should be in upper camel case. That is, if the member is final, immutable and it belongs to a package object or an object, it may be considered a constant

Method, Value and variable names should be in lower camel case

Source: http://docs.scala-lang.org/style/naming-conventions.html

This compile:

val (a,b) = (1,2)
// a: Int = 1
// b: Int = 2

but this doesn't:

val (A,B) = (1,2)
// error: not found: value A
// error: not found: value B


Got any Scala Language Question?