Hacker News new | ask | show | jobs
by jakozaur 4259 days ago
There are sometimes too many ways of doing the same thing.

E.g.

- syntax: def func() { and def func(): Unit = {

- collection library

1 comments

> def func() {

That's already deprecated (under -Xfuture):

  <console>:1: warning: Procedure syntax is deprecated. 
  Convert procedure `func` to method by adding `: Unit =`.