Insights from Incorporating Static Type Checking in Ruby
Nexmo's Ruby SDK aims to improve developer experience by providing explicit code that is easier to debug and resolve issues. The team has started incorporating static type checking using the Sorbet gem, which helps ensure an explicit codebase. This process has revealed gems such as "Thinking Through The Interface" and "Follow Each Method All The Way Through." By introducing static typing, the SDK strives to achieve a 100% typed codebase incrementally over several months, focusing on deep thinking about design choices and method utilization. The goal is to enhance developer experience while maintaining flexibility in Ruby's dynamically typed language.
Company
Vonage
Date published
May 24, 2021
Author(s)
Ben Greenberg
Word count
2040
Language
English
Hacker News points
None found.