RubyConf 2015 - Extremely Defensive Coding by Sam Phippen
1,585 views · Published 23 November 2015 · 34:56 · Indexed 27 October 2026
Channel: Confreaks · 2015 · Science & Technology
Extremely Defensive Coding by Sam Phippen Defensive programming is one of those abstract ideas that seems great but is often unclear in practice. In this talk we'll look at some of the extremely defensive patterns that have been driven out in RSpec through the years. We'll look at building Ruby that works across a range of interpreters (including 1.8.7!). We'll investigate how you can write code that defends against objects that redefine methods like send, method and is_a?. You should come to this talk if you want to learn about method resolution in Ruby, and cross interpreter design patterns. Help us caption & translate this video! http://amara.org/v/H1T7/
More from this channel
-
35:52
Code Design and the Science of Pleasure
-
48:58
Ruby Software Continuously Delivered and Exhaustively Explained by Brian Guthrie, Srushti Ambekallu
-
40:58
Jruby Polyglot Heaven by Thomas E Enebo and Charles Oliver Nutter
-
42:17
Be a Minecraft modman with Purugin by Thomas E. Enebo
-
36:46
Your tests are lying to you by Chris Parsons
-
23:46
KidsRuby: Think Of The Children! by Ron Evans
-
52:05
Resources, For Real This Time (with Webmachine) by Sean Cribbs
-
38:28
Just Say No To :nodoc: and Document Your Code! by Loren Segal