Comment on Scala: the Case for CorrectnessparentComments−rld11yWhat do you mean by "more aesthetic"? As in syntax?−rco878611ySpeaking for OP here, but yea. The simple examples are definitely simple. But in practice it can get out of hand really quick.The type system is crazy powerful, but that also means it's crazy complex.−jakozaur11yThere are sometimes too many ways of doing the same thing.E.g.- syntax: def func() { and def func(): Unit = {- collection library−frowaway00111ydef func() {That's already deprecated (under -Xfuture): <console>:1: warning: Procedure syntax is deprecated. Convert procedure `func` to method by adding `: Unit =`.
Comments
What do you mean by "more aesthetic"? As in syntax?
Speaking for OP here, but yea. The simple examples are definitely simple. But in practice it can get out of hand really quick.
The type system is crazy powerful, but that also means it's crazy complex.
There are sometimes too many ways of doing the same thing.
E.g.
- syntax: def func() { and def func(): Unit = {
- collection library
That's already deprecated (under -Xfuture):