Hacker News new | ask | show | jobs
by sosodev 2093 days ago
It seems like the intent is for RBS to be auto generated from other tooling. Sorbet for example lets you write inline type definitions and is planned to fully integrate with RBS.

The other good thing about RBS being in separate files is it can be integrated into a library without breaking compatibility with older Ruby versions.

1 comments

I wish they'd allow both external RBS files and inline markup.