Go for Rubyists
summary
Go claims faster builds and simpler concurrency than Ruby, with origins in 2007, open source 2009 and a 2012 release, and adoption at YouTube, Netflix, Let's Encrypt and Globo. A concrete health-check service gets implemented: it queries many dependencies in parallel using goroutines and channels, returns errors via the two-value idiom, uses go dep / go get and GOPATH, compiles to a single Linux binary and runs in Docker — the demo compiles cross-platform and the parallel checks work.
AI-written summary · about
chapters (22)
- 0:00Introduction and background
- 2:34Comparing Ruby and Go
- 3:46Why Go was created
- 6:02Addressing developer challenges
- 9:15The creators of Go
- 10:39Setting up the Go workspace
- 12:39Go syntax and simplicity
- 13:24Dependency management tools
- 16:05Package importing in Go
- 17:03Types and variables
- 19:57Structs and composition
- 22:28Initializers and constructors
- 23:32Functions and methods
- 25:53Interfaces and duck typing
- 27:41Control structures
- 28:02Error handling in Go
- 28:58Real-world project scenario
- 31:35Implementing the health check
- 34:03Polymorphism with interfaces
- 35:50Concurrency with goroutines
- 38:25Cross-compilation and deployment
- 40:00Conclusions and best practices








