We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Extremely Defensive Coding

Formal Metadata

Title
Extremely Defensive Coding
Title of Series
Number of Parts
66
Author
Contributors
License
CC Attribution 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Producer
Production PlaceSan Antonio

Content Metadata

Subject Area
Genre
Abstract
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.