Friday 15 March 2013

Go and Scala

Start to learn Go and Scala. I'm going to jot down some notes here.

Both Scala and Go have similar type declaration syntax, with type name on the right.
Scala:
class Person(first: String, lastName: String)
Go:
func needInt(x int) int {return x * 10 + 1}

No comments :

Post a Comment