~/talk

Go Go Java Developer

Talkat Jfokus 2023 · 2023-02-06..02-08· [go]
slides:none on file

Learning Go clarifies Java by forcing different tradeoffs: Go produces native executables via go build and manages dependencies with go.mod, uses pervasive type inference and multi-value returns, and enforces explicit error handling with error handling via nil checks rather than exceptions. Arrays are value types while slices are pointer-backed and append can silently copy, causing bugs. Interfaces are implicit and composition replaces inheritance. Lightweight goroutines plus channels replace heavy threads; cgo shows real OS thread IDs for downcalls. Use gofmt — formatting is fixed.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:24Java vs. Go fundamentals
  3. 8:00Getting started with Go
  4. 10:58Compilation and execution
  5. 13:30Type inference in Go
  6. 15:16Functions and return values
  7. 17:27Idiomatic Go and the OK idiom
  8. 23:01Error handling without exceptions
  9. 25:43Composition and interfaces
  10. 29:51Structuring and constraints
  11. 34:16Visibility and encapsulation
  12. 36:10Arrays vs slices
  13. 40:20Formatting and consistency
  14. 44:11Concurrency with goroutines
  15. 47:43C interoperability and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.