3 ms·
You Don't Need Types in Ruby
- dzonga 1y agoThere's an excellent talk from Ruby conf given by Noel Rapin - https://youtu.be/OM37TfsCyF4?si=HsS9yXNGiTlf5Oo9 https://youtu.be/OM37TfsCyF4?si=HsS9yXNGiTlf5Oo9 about this. there's so many ways you can enjoy ruby without types.
- Lapsa 1y agoSorbet needs type inference and `dynamic` keyword
- monarchwadia 1y agoAnd this is why I don't use Ruby.
- deleted 11mo ago[deleted]
- karmakaze 11mo agoYou also don't need variable names with point-free form, also known as tacit programming. I still prefer to name and type intermediate things.
- az09mugen 11mo agoThat'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/ https://crystal-lang.org/
- mooktakim 11mo agoYes 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.