Get some sleep, then spend another week playing with Scala and its REPL. It's a terrific tool to learn. If you like Eclipse, install the Scala IDE and the Scala Worksheet. It's rough around the edges, but it's even…
There are a number of syntactic errors and typos in the article. For instance `sum` should be: * def sum(x: Int, y: Int) = x + y Why `return x * y`? That is not a sum... Also using `return` is not idiomatic scala. *…
Get some sleep, then spend another week playing with Scala and its REPL. It's a terrific tool to learn. If you like Eclipse, install the Scala IDE and the Scala Worksheet. It's rough around the edges, but it's even…
There are a number of syntactic errors and typos in the article. For instance `sum` should be: * def sum(x: Int, y: Int) = x + y Why `return x * y`? That is not a sum... Also using `return` is not idiomatic scala. *…