← Graph

Enable requires_ancestor when adopting Sorbet

takeaway 2 connections

Despite being experimental, `requires_ancestor` is a must-enable when introducing Sorbet to a Ruby codebase that uses modules as dependencies. Without it, you pay a tax in T.bind(self, …), casts, and manual RBI surgery. Erwin Kroon frames it as 'life is so much harder without it'.

type
recommendation
takeaway Enable requires_ancestor when adopting Sorbet
about
Directly about the requires_ancestor feature.
takeaway Enable requires_ancestor when adopting Sorbet
from_talk
Strong recommendation from the speaker.

Provenance