Go Time: Golang, Software Engineering

Answering questions for the Go-curious

37 snips
Apr 7, 2022
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Slices vs. Arrays

  • Use slices for resizable data.
  • Arrays have a fixed size and are rarely needed.
INSIGHT

Quick Assignment and Shadowing

  • Go's := operator (quick assignment) infers variable types.
  • It also creates new variables within the current scope, shadowing outer ones.
ADVICE

Dependency Management

  • Embrace modules for dependency management in Go.
  • Use go mod init to start and go get to download dependencies.
Get the Snipd Podcast app to discover more snips from this episode
Get the app