|
|
|
|
|
by eta_carinae
4974 days ago
|
|
> Languages like Kotlin are missing the point. That's a bit harsh. JetBrains and the developers of the compiler are certainly aware of the Maybe/Option approach, they chose not to use it. Their approach is not as composable as Haskell's but much more practical and more readable in my opinion. If anything, the fact that Option is still used so rarely in Scala is an indication that maybe, that experiment has failed. |
|
And I do not agree that the Kotlin approach is more practical, unless by that you mean it's close to being useless.