Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

What Could Go Wrong

Gopher Academy via YouTube

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

Reviews

Start your review of What Could Go Wrong

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.