~/talk

Opening keynote: Clear is better than clever

Talkat GopherCon Singapore 2019 · on Friday, 2019-05-03· [go, software-architecture]
slides:none on file

Argues clarity matters more than style fights and gives concrete rules: use var for deliberate zero-values and prefer := for explicit initialization; prefer small, behavior-focused interfaces (change save(os.File) to save(io.Writer) and move closing elsewhere) and rename to reflect action (write). Use guard clauses and switch to keep success path visible, explicitly type uncommon requirements, avoid fallthrough, and rely on gofmt and fast builds to boost productivity. The claim is that these choices make code easier to maintain and test.

AI-written summary · about

  1. 0:00Introduction to Clarity
  2. 1:06Software Engineering Defined
  3. 3:22Readability vs Clarity
  4. 5:29Variable Declaration Rules
  5. 7:23Initializing Variable Intent
  6. 10:58Exceptions and Conventions
  7. 13:20Interfaces for Behavior
  8. 18:55Line-of-Sight Coding
  9. 22:03Structuring Logic
  10. 25:19Core Values of Go Code
  11. 29:03Developer Productivity
  12. 32:21Conclusion
  13. 33:14Q&A Session
~/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.