Scala does have this style too, although we don't use it consistently in Spark. I really like it because it is very obvious what is a private variable: http://docs.scala-lang.org/style/naming-conventions.html#type_parameters_generics