You Don't Need Types in Ruby

by zhismeon 10/30/2025, 9:16 AMwith 6 comments

by dzongaon 10/30/2025, 1:39 PM

There's an excellent talk from Ruby conf given by Noel Rapin - https://youtu.be/OM37TfsCyF4?si=HsS9yXNGiTlf5Oo9 about this.

there's so many ways you can enjoy ruby without types.

by az09mugenon 10/31/2025, 7:21 AM

That's exactly the essence and the power of Ruby. If you want static typing, compilation, performance with Ruby-like syntax just use Crystal https://crystal-lang.org/

by mooktakimon 10/31/2025, 8:22 AM

Yes absolutely. People forget one of the reasons to use ruby is the beauty of the code. Any typed language is verbose and ugly. I understand other languages are more safe, I'm happy to code unsafe for developer joy.

by karmakazeon 10/30/2025, 7:06 PM

You also don't need variable names with point-free form, also known as tacit programming. I still prefer to name and type intermediate things.

by monarchwadiaon 10/30/2025, 2:31 PM

And this is why I don't use Ruby.

by Lapsaon 10/30/2025, 2:26 PM

Sorbet needs type inference and `dynamic` keyword