Re:RBS, Ruby’s new type signature language
by shpongled on Wednesday July 29, 2020 @03:35PM
(#23990726)
I'm not familiar with Ruby at all, but presumably it'd be possible to at least generate stubbed out definition RBS files with type inference.
[ Parent
| on HN ]
Re:RBS, Ruby’s new type signature language
by baweaver on Wednesday July 29, 2020 @04:08PM
(#23991004)
It is, and checkers like Steep and Sorbet can infer these types. We're currently playing with the idea of deriving from documentation like YARDoc as well.
Re:RBS, Ruby’s new type signature language
by rattray on Wednesday July 29, 2020 @05:45PM
(#23991910)
https://github.com/AaronC81/sord is one attempt at this