Linked by Thom Holwerda on Wed 11th Nov 2009 14:21 UTC
Google Google has invented a new programming language designed to reduce the complexity of coding without compromising the performance of applications. Called Go, the language has been tested internally at Google but is still at an experimental stage, so the company is releasing it as open-source code in the hope that it will get help with its future development.
Permalink for comment 394036
To read all comments associated with this story, please click here.
RE: Dirty?
by mightshade on Wed 11th Nov 2009 17:27 UTC in reply to "Dirty?"
mightshade
Member since:
2008-11-20

So, I ask, why do we need parentheses when returning more values? Why can't we just write this:
"func foo(i int) a, b int {}

"
I find that especially odd, since control structures (if, for, ...) do not use parentheses, and "Go needs fewer parentheses" is listed as an advantage of Go's formatting.
Of course, apart from that, Go might still be a nice language.

Reply Parent Score: 1