~/talk

What Ruby Developers Can Learn From Go

Talkat RailsConf 2013 · 2013-04-29..05-02· [ruby, go]
speakerdeck:lionelbarrow
slides:none on file

Compares concrete Ruby and Go snippets and shows that Go enforces up-front error handling by returning value+error everywhere, makes unused imports and variables compile errors, and exports identifiers by case-based export not annotations. Demonstrates interface-based polymorphism without inheritance, lacks generics, and targets small composable packages (standard packages seldom exceed three files or ~1,000 lines). Includes direct code comparisons and runtime tradeoffs around verbosity, error propagation, and tooling.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25What does Go do
  3. 3:11What to know about Go
  4. 3:27Go has an agenda
  5. 3:38Language designers have a very specific way
  6. 4:05You have to make your peace with that
  7. 4:20I dont think Ruby does have an agenda
  8. 4:44Design goals
  9. 5:21Declaration of variables
  10. 5:55Design Decision
  11. 7:37Client Code
  12. 8:10Package API
  13. 9:11Duck typing
  14. 9:22Interfaces
  15. 11:44Controversial
  16. 12:00Destructor Bind
  17. 12:47Multiple Returns
  18. 13:31Exceptions
  19. 14:40Disadvantages
  20. 15:31Do you catch
  21. 17:38Agenda
  22. 19:08FineByID
  23. 20:19Ruby vs Go
  24. 20:37Type declaration
  25. 21:28Whats next
  26. 21:58Is it true
  27. 22:09More than one language
  28. 23:20Programming language communities
  29. 23:56Dependency management
  30. 25:41idiomatic code
  31. 27:06familiarity
  32. 28:15the goal of a language designer
  33. 28:36an accidental example
  34. 29:36conclusion
~/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.