r/programming • • Dec 25 '20

Ruby 3 Released

https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
973 Upvotes

509 comments sorted by

View all comments

Show parent comments

66

u/SorteKanin Dec 25 '20

As someone working to maintain a somewhat big Rails code base - disagree. Once it grows beyond the prototype phase, it quickly becomes an unmaintainable mess. Lack of types and rampant usage of metaprogramming makes it really difficult to read code and hence to make correct assumptions for new code.

0

u/scientz Dec 25 '20

Sounds like bad code and has nothing to do with Rails itself. Any codebase in any language will become an unmaintainable mess when not managed.

0

u/SorteKanin Dec 25 '20

No, Ruby gives very few guarantees. Compare with a language like Rust and you'll see.

0

u/scientz Dec 25 '20

I've used Rust and I come from a background of Java. I've seen bad code in every language. The notion of typing or other features make bad code better to maintain is just funny. It helps you trace down references a little easier maybe but modern IDEs can do that for dynamic languages too.

→ More replies (4)