~/talk

What Can a Java Developer Learn from Golang?

Talkat Voxxed Days Ticino 2025 · 2025-01-16..01-17· [java, go]
slides:none on file

Golang promotes explicit simplicity: code is formatted with gofmt, built with go build and linted with go vet, and concurrency uses goroutines plus atomic integers for correct visibility. A concrete movie‑rental service is wired by constructor injection with tiny consumer‑side interfaces, tested with in‑memory replacements (10,000 repeated unit runs finish in 38 ms), eliminating heavy mocks. Java alternatives shown include Spotless for enforced formatting and ArcUnit to prevent import cycles, and Go’s errors‑as‑values model replaces unchecked exceptions.

AI-written summary · about

  1. 0:00Introduction to Go and Java
  2. 1:17Golang simplicity and syntax
  3. 5:17Reducing bikeshedding
  4. 10:18Pragmatism and memory models
  5. 15:59Interface design and DI
  6. 23:43Testing without mocks
  7. 34:33Hexagonal architecture
  8. 36:03Managing dependency cycles
  9. 41:32Errors as values
~/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.