Go Go Java Developer
summary
Compares Java and Go with concrete differences: Go produces a single native executable with no VM, uses implicit interfaces and composition instead of inheritance, and enforces exported names by capitalization. Shows Go playground sandbox that resets time, explains slices (value types backed by arrays) versus fixed-size arrays, demonstrates multiple return values and errors as last return value instead of exceptions, advocates go fmt, and runs concurrent work with goroutines plus sync.WaitGroup. Also demos cgo via import "C" and notes generics are newly GA.
AI-written summary · about
chapters (23)
- 0:00Introduction and speaker background
- 3:02Why Go for Java developers
- 7:57Idioms and mindset shift in Go
- 10:26Searching for Go resources
- 11:31Forgetting Java when learning Go
- 12:14Using Go Playground for experiments
- 14:44Native executables in Go
- 16:09Type inference in Go
- 17:54Functions returning multiple values
- 20:23The 'ok' idiom for error handling
- 22:34No exceptions: Go error handling
- 25:00No objects or inheritance in Go
- 28:29Composition over inheritance
- 32:04No method overloading in Go
- 33:08Access modifiers in Go
- 35:14Arrays vs slices in Go
- 41:59Slices and pointers
- 42:20Automatic formatting with go fmt
- 44:05Concurrency with goroutines
- 48:44Calling C from Go
- 51:16Resources to learn Go
- 51:59Takeaways and closing thoughts
- 52:41Feedback and Q&A
