~/talk

Nothing is Something

Talkat RubyConf Colombia 2015 · 2015-10-15..10-16· [ruby, software-architecture]
slides:none on file

Claims that conditionals are a code smell and that objects should answer messages, not be inspected; demonstrates with Ruby by monkey‑patching true/false to replace if, implementing a Null Object to eliminate scattered nil checks, and refactoring a cumulative “house that Jack built” example into injectable roles (orderer, formatter) using dependency injection and composition. Shows inheritance causes duplication for combined features (random + echo) while the composed solution composes cleanly and works.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:20Smalltalk influence on objects
  3. 8:40Conditionals vs message sending
  4. 12:34Nil checks and null objects
  5. 21:02Inheritance pitfalls and alternatives
  6. 31:18Finding abstractions through roles
  7. 40:21Practical takeaways and summary
  8. 43:55Conclusion and Q&A
~/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.