Get Programming with Go
A beginner-friendly, hands-on introduction to the Go programming language. The course is structured into small, manageable lessons with a space-exploration theme, covering imperative programming, types, functions, methods, collections, state, and concurrency.
Course Overview
Content Summary
A beginner-friendly, hands-on introduction to the Go programming language. The course is structured into small, manageable lessons with a space-exploration theme, covering imperative programming, types, functions, methods, collections, state, and concurrency.
Discover the joy of coding with Go through small lessons and seven spacefaring capstone projects.
Author: Nathan Youngman, Roger Peppé
Acknowledgments: Jennifer Stout, Marina Michaels, Matthew Merkes, Joel Kotarski, Aleksandar Dragosavljević, Renée French, Olga Shalakhina, Erick Zelaya, April Milne, Monica Kamsvaag.
Learning Objectives
- Define the Go programming language and its primary use cases.
- Explain the role of the Go compiler and its advantages over interpreters.
- Navigate the Go Playground to write, compile, and run code.
- Correctly structure Go code using the mandatory "one true brace style" to avoid syntax errors.
- Manage data using various variable declaration techniques and arithmetic assignment operators.
- Generate pseudorandom numbers and implement conditional logic using branching and logical operators.
- Declare and format floating-point variables using
float32andfloat64with specific width and precision. - Identify and mitigate errors caused by floating-point inaccuracies and integer wrap-around.
- Utilize the
bigpackage and untyped constants to handle numbers exceeding standard bit-size limits. - Define and invoke functions using parameters, arguments, and variadic syntax.