Get the latest tech news

Past, present, and future of Sorbet type syntax


A discussion of how Sorbet's type syntax came to be, the problems it solves, and how it could improve.

Like any good ODM (or ORM), it did type validation at runtime to ensure that database write operations don’t store bad data. But even today, I’m not aware of a single Ruby codebase of significant size that has a source transform build step that blocks running the tests or reloading the service. Google’s Closure Compiler chose this strategy well before TypeScript appeared, and Ruby already had a history of comment-based type annotations via tools like YARD.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of future

future

Photo of sorbet type syntax

sorbet type syntax

Related news:

News photo

The 2006 Zuckerberg Quote at the Center of Meta’s Antitrust Trial

News photo

Big Tech Is on Trial. What That Means for the Future of the Internet

News photo

Anthropic launches Claude web search API, betting on the future of post-Google information access