4 ms·
> - Scala adds an Option type, whereas Kotlin adds nullability checking for existing object types. I like null coalescing, but Scala uses a more generic way to
by meowzero 6y ago
> - Scala adds an Option type, whereas Kotlin adds nullability checking for existing object types.
I like null coalescing, but Scala uses a more generic way to handle nulls like Options. After working with both, I'm not sure which way I prefer. I do like not having to create new syntax for language features and could be handled with a monad. Async/await is another that can be handled with an IO, Future, ZIO, etc.