What\'s the difference between Some and Option?
Some
Option
scala> Some(true) res2: Some[Boolean] = Some(true) scala> val x: Option[Boolean]
The basic idea of Option is to eliminate using Null in order have a default value and avoid a NullPointerException. So Option can have Some value or None (replacing Null). Check out this great explanation of Option: Scala Option explained