DEV Community

Discussion on: Sorbet: A Type Checker for Ruby

Collapse
 
kaspermeyer profile image
Kasper Meyer

One thing I love and adore about the Ruby-community, is our willingness to go explore other languages and idioms, while the bringing the best stuff back to our own little ecosphere.

For Stripe to put all that effort into building a type checker for Ruby says something about how real of an issue it must have been for them, and I have the utmost respect for that.

I don't think this is something that I'd want to use in my own projects, however.

I see the lack of type checking as one of the core strengths of Ruby. How many times have we heard Sandi Metz referer to is_a?(class) as a particularly pungent smell, and that our code shouldn't care about types and classes, but instead focus on what roles our objects are willing to play. We just want to send a message.

With that said, I think it's fantastic that Stripe has chosen to open source Sorbet. It says a lot about the mentality and our willingness to share in the community, and I love that. I think Ruby has a bright future ❤️

Collapse
 
rhymes profile image
rhymes

Great comment :)

Collapse
 
kaspermeyer profile image
Kasper Meyer

It's my first — so thank you 🙏

Thread Thread
 
nickytonline profile image
Nick Taylor

Thanks for chiming in and welcome to DEV!

Thread Thread
 
kaspermeyer profile image
Kasper Meyer

Thank you so much, Nick! ✌️