~/talk

SOLID Go Design

Talkat Golang UK 2016 · on Thursday, 2016-08-18· [software-architecture]
slides:none on file

Argues that SOLID maps to Go mainly through interfaces and packages, with concrete examples: replacing a function signature from os.File to io.ReadWriteCloser then finally io.Writer to narrow responsibilities and ease testing, and using embedding preserves method sets so types are open for extension but closed for modification; shows reader/io patterns as real substitution examples; warns of future scale with 500,000 Go developers by decade end and urges prioritizing decoupled design over frameworks and micro-optimizations.

AI-written summary · about

  1. 0:00Intro
  2. 0:51Who does code review as part of their job?
  3. 3:16Good Design
  4. 4:02Single Responsibility Principle
  5. 4:59Coupling & Cohesion
  6. 7:24Go's UNIX philosophy
  7. 10:25Liskov Substitution Principle
  8. 10:52Interfaces!
  9. 11:30Simple Implementations
  10. 12:52Interface Segregation Principle
  11. 18:58Dependency Inversion Principle
  12. 19:10High-level modules should not depend on low-level modules. Both should depend on abstractions.
  13. 21:08SOLID Go Design
  14. 22:02Interface Substitution Principle
  15. 22:40Interfaces let you apply the SOLID principles to Go programs
~/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.