Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Go

Name: Bernd 2013-04-14 12:25

What does /prog/ think about the go programming language?

Name: Anonymous 2013-04-14 14:20

>>5
in Go, functions can return more than one variable. usually it's used like this:
result, err := funcName()
if err != nil {
fmt.Prinrln(err.Error())
}

you also have panic() and defer/recover, but you'd be better off going through the tour on the website

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List