2 ms·
>With all that said, the church of FP and the hascalator community is a problem for Scala. Overly dogmatic & academic functional programming styles don't have a
by MrBuddyCasino 7y ago
>With all that said, the church of FP and the hascalator community is a problem for Scala. Overly dogmatic & academic functional programming styles don't have a place in production systems.
Isn't Scala minus the problems you mentioned just Kotlin?
- cerved 7y agoDoes Kotlin have the maybe monad?
- solicode 7y agoNot in the standard library. Kotlin went with specific language features to achieve null safety: https://kotlinlang.org/docs/reference/null-safety.html 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/-option/ https://arrow-kt.io/docs/apidocs/arrow-core-data/arrow.core/...
- cerved 7y agoOk, looks similar to C#. Honestly I prefer maybe monads to null coalescing