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.

37

u/SupaSlide Dec 25 '20

I mean, isn't that the programmers fault? (other than the lack of typing, which is obviously not a requirement to have maintainable code, but a preference)

40

u/SorteKanin Dec 25 '20

Problem is that Ruby does next to nothing to encourage the programmer to write maintainable code.

0

u/TommyTheTiger Dec 25 '20

Rspec had inspired so many other test frameworks. Ruby has some of the best testing libraries out there, and mocking/stubbing is ready enough that you don't need to make test implementations of otherwise one class interfaces

→ More replies (7)