Fork me on GitHub!
Señor Developer!


Ruby User Group Berlin

Design by Contract in Ruby

this Topic will be presented by Alexey Fedorov

at March meetup 2015, hosted by Tobias Pfeiffer

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.

13 People like it