Alexey Fedorov wants to give this talk

Design by Contract in Ruby

I want to give a short introduction to a powerful Design by Contract technique and its implementation in ruby contracts.ruby.

Design by Contract allows one to do defensive programming in very elegant fashion, allows to set contracts on methods (expectations on input - arguments; and on output - return result) and invariants on classes. This allows to reason about code much much better.

This talk will take about 15-20 minutes with questions if any. So I am not sure if it should be a full-fledged talk or lightning talk.