Overview
Explore common pitfalls and mistakes in Go programming through this 20-minute conference talk from GopherCon 2015. Learn from Timehop Engineering's two-year experience using Go in production, covering issues such as typed nils, bloated interfaces, runaway goroutines, and mysterious closure states. Gain insights into ranging over strings and maps, proper error checking, effective use of closures and defers, array handling, and avoiding scheduler blocking. Discover how to leverage Go's simplicity while steering clear of common errors, and compare Go's approach to other popular languages. Enhance your Go programming skills by understanding these potential pitfalls and learning how to avoid them in your own projects.
Syllabus
Introduction
Simplicity of Go
Other popular languages
Ranging over strings
Ranging over maps
Using closures
Checking errors
Using defers
Using arrays
Block the Scheduler
PreDeclared identifiers
Conclusion
Taught by
Gopher Academy