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.
A collection of blog posts about programming, software, types, programming languages, Sorbet, Vim, Markdown, and more.
Visit blog.jez.io → RSS feedOn Hacker News Feb 2018 – May 2025
Software Engineering 4Programming Languages 3Tools & Productivity 2Web & Frontend 1Life, Learning & Writing 1Career & Management 1
A discussion of how Sorbet's type syntax came to be, the problems it solves, and how it could improve.
Union types are powerful yet often overlooked. At work, I've been using Flow which thankfully supports union types. But as I've refactored more of our code to use union types, I've noticed that our bundle size has been steadily increasing!
Ruby's `private` keyword means something different compared to basically all other object-oriented languages. Most other languages don't even have a feature matching what Ruby calls `private`, but incredibly, Scala does, which it calls `protected[this]` (meaning