© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
B. Feigenbaum, Ph.D.Go for Java Programmershttps://doi.org/10.1007/978-1-4842-7199-5_8

8. Go Statements

Barry Feigenbaum, Ph.D.1  
Austin, TX, USA

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 ...

Get Go for Java Programmers: Learn the Google Go Programming Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.