~/talk

Clean Up Your GOOOP: How to Break OOP Muscle Memory

Talkat GopherCon 2023 · 2023-09-26..09-29· [go]
links:none on file
slides:none on file

Claims that copying class-based OOP into Go creates brittle “goop” backed by concrete examples: embedding vs inheritance breaks polymorphism (embedded field calls base method, not overridden one), a shared refactor into a new clients module forces extra versioning and coordination across services, an S3-style API with 91-method interface proves unwieldy, and a real package reorganization cuts downstream build times from ~7–8 minutes to under a second and binary size from ~80 MB to ~7–8 MB. Consumer-defined small interfaces and package-per-functionality replace heavyweight OO patterns.

AI-written summary · about

  1. 0:00Introduction to Dylan
  2. 1:03What is Goop?
  3. 2:00Academic roots of OOP
  4. 4:41Go structs vs classes
  5. 5:49Embedding vs inheritance
  6. 9:05Packages as design units
  7. 11:17Refactoring pitfalls
  8. 15:23Consumer-defined interfaces
  9. 21:01Idiomatic project structure
  10. 27:47Applying SOLID in Go
  11. 32:06Conclusion
~/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.