In this chapter, we will describe Go’s various language statements in greater detail. When we are done with this chapter, you should be able to clearly identify the similarities and differences between the Go and Java language statements and their function.
Much like with Java, in Go, computation is based on an imperative model. Computations are performed in a sequence and are saved in variables. Go has little of the functional programming style of computation that Java also supports. Control flow is based on ...