~/talk

From Java to Go: I Have a Hammer and See Nails Everywhere

Talkat GopherCon Europe 2024 · 2024-06-17..06-20· [go, career-development]
slides:none on file

Compares Java habits to Go and gives concrete rules: the compiler merges package files and anything under the internal folder is hidden so start small; shows a baker counter example where a pointer receiver is required because value copies don’t mutate, explains when pointers help with mutability or large structs, argues for placing implicit interfaces on the consumer side to keep APIs minimal, and replaces fragile mocking with testcontainers for reliable integration tests.

AI-written summary · about

  1. 0:00Introduction
  2. 3:57Java vs Go differences
  3. 7:09Go code and structs
  4. 9:14Understanding interfaces and implicit design
  5. 11:23Pointers and receivers
  6. 16:00Takeaways
~/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.