1 Getting started
This chapter covers
- Why should you read this book?
- Importance of writing idiomatic and testable code
- Presenting Go's prominent features
Go is a modern and simple programming language that makes it convenient for individuals and distributed teams to work together to develop efficient, adaptable, maintainable, and scalable software that harnesses the full power of today's multi-core CPU systems.
This chapter explores the book's goals, introduces Go, and showcases its key features without delving fully into Go's mechanics and idioms; I'll leave the details to other chapters.
Let's take a look at why you should read this book and what you can expect from it.
1.1 Why should you read this book?
Getting up to speed with Go is so straightforward that in 2020, I tweeted:
"Go is easy to learn. Hard to master."
Experienced programmers can learn the basics of Go in just a week. Yet, using Go to its full potential requires a deep understanding of its idioms and mechanics.
So, this book has three practical goals:
- Learning by example.
- Crafting idiomatic and readable code in Go.
- Crafting testable and maintainable code in Go.
Let's dive into each.