All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

T-Ruby: TypeScript-Style Static Type Checking for Ruby Programming

By

thunderbong

5mo ago· 2 min readenNews

Summary

T-Ruby is a static type checker for Ruby developed by Stripe that brings TypeScript-style type annotations to Ruby programming. It allows developers to write typed Ruby code in .trb files with type annotations, which then compiles to standard .rb files while generating type signatures in .rbs format. The tool provides a way to add type safety to Ruby code with a syntax similar to TypeScript, offering an alternative to existing Ruby typing solutions like Sorbet.

Key quotes

· 4 pulled
Write typed Ruby, compile to standard Ruby with generated type signatures.
A static type checker for Ruby developed by Stripe.
T-Ruby: TypeScript-style type system for Ruby.
Write .trb files with type annotations, compile to standard .rb files.
Snippet from the RSS feed
T-Ruby: TypeScript-style type system for Ruby. Write .trb files with type annotations, compile to standard .rb files.

You might also wanna read