Richard Böhme wants to give this talk

Generating Type Signatures from Automated Tests

Static typing has many advantages that we miss out in dynamically typed Ruby code:

  • It eliminates a whole category of errors.
  • It helps onboarding new developers to your code base.
  • It makes static analysis easier which allows better IDE support (method completion, argument hints and more)

Implementing static typing in Ruby is possible, but it comes with the downside of... having to type everything yourself.

During my master thesis I implemented Racer, a gem that traces all method calls during runtime (e.g. when running your automated tests) and generates RBS type signatures from those traces. In this talks I'd like to further explain the motivation, showcase the tool and explain how it works and what future developments may bring.