Y
Hacker News
new
|
ask
|
show
|
jobs
by
Doublon
3955 days ago
The first one can be shortened for Go:
package main func main() { println("Hello, world!") }
And it looks even more similar to the Swift version.
1 comments
0x001D
3955 days ago
for println() "These functions are documented for completeness but are not guaranteed to stay in the language."
http://golang.org/ref/spec#Bootstrapping
link
http://golang.org/ref/spec#Bootstrapping