Comment on Scala: the Case for CorrectnessparentComments−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
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):