I've been coding on Scala for 2 years and I use a lot of Option's in my code. I feel it is very clear, easy to understand and can easily be treated. This is a normal approach:
val optString = Some("hello")
optString match {
case Some(str) => //do something here!
case None => //do something here
}
I thought that this was the best way to treat Scala Options, but I want to ask if there's a better way to do so?