First thoughts on Sorbet

2020.06.03

We started using Sorbet to add types to Galaxy’s codebase. Types are great to catch type-related issues statically, and prevent them from blowing up on production. This tiny blog-post contains my impressions using it for the first time:

Overall, the impression has been quite possitive. I don’t many Ruby projects, but if I had to, I’d definitively set them up with Sorbet. If you are a Ruby developer and you haven’t checked it out yet, I’d recommend you to give it a try in one of your projects.