On Ruby and type checkers

27-Jun-2019 1739
Stripe recently open sourced Sorbet, a ruby type checker. It was also recently announced that types will be coming to Ruby 3. Along with the impact of Typescript and with types coming to Python, it is evident that static type checkers for dynamic languages are gaining a lot of traction, and this piece is my attempt to clarify my own thoughts about it.I have mixed feelings about using types in Ruby or in Javascript:On the one hand, I don’t miss them at all.On the other, a lot of smart people and companies are embracing them, and this makes me want to give them a try.When you read about what benefits types bring, there are always 3 recurring themes:Better support for editorsMore robust systemsBetter documentation.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle