~/talk

Building Better Packages

Talkat dotGo 2014 · on Friday, 2014-10-10· [go]
slides:none on file

Argues for designing packages by specifying clear interfaces and returning concrete structs, with the concrete rule of thumb that inputs are interfaces and return values are structs. Names and demos include Negroni as a tiny workable middleware chain, idioms from net/http, io.Writer and http.FileSystem, and bufio’s NewWriter pattern. Claims three pillars — simplicity, flexibility, continuity — and shows these yield durable, testable packages that integrate with Gorilla mux and the standard library.

AI-written summary · about

  1. 0:00Start
  2. 0:29BUILDING BETTER PACKAGES
  3. 3:04IMPLEMENTATION INTERFACE
  4. 3:34SIMPLICITY FLEXIBILITY CONTINUITY
  5. 3:58SIMPLICITY IS PREREQUISITE FOR RELIABILITY
  6. 5:00ONE DIMENSION
  7. 5:29SWISS ARMY KNIFES
  8. 6:20WHAT DOES IT MEAN?
  9. 6:42WHAT DOES IT ACCOMPLISH?
  10. 10:12ALWAYS USE INTERFACES
  11. 10:36COMMITMENT
  12. 11:18RETURN VALUE? STRUCT
  13. 11:41ARGUMENT VALUE? INTERFACE
  14. 17:59NEED EXAMPLES?
~/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.