Hacker News new | past | comments | ask | show | jobs | submit login

> On the other hand, RBS as hand-written seems rather dangerous, to me. Nothing wrong with using them to define previously-untyped external code, as long as you know the caveats, but I think you really want to have definitions generated from your code.

Isn't the point that you run the type checker on your own code and it checks that it implements the signature correctly? Having a mismatch between the code and the signature will give a type error. How is this different from how Sorbet works?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: