News for hackers. Stuff that matters.
Re:The Road to Scala 3 by solicode on Sunday December 22, 2019 @03:21AM (#21855926)
Not in the standard library. Kotlin went with specific language features to achieve null safety: https://kotlinlang.org/docs/reference/null-safety.html

Personally, being able to solve problems with the abstractions you can achieve within the language over adding very specific language features to solve them appeals to me more.

Having said that, Arrow has Option: https://arrow-kt.io/docs/apidocs/arrow-core-data/arrow.core/...

Re:The Road to Scala 3 by cerved on Sunday December 22, 2019 @04:49AM (#21856200)
Ok, looks similar to C#.

Honestly I prefer maybe monads to null coalescing