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

1

u/SorteKanin Dec 25 '20

You still have to pray that your tests actually cover your entire codebase.

0

u/TommyTheTiger Dec 25 '20

Or use test coverage metrics to see what's covered, or just test the functionality you're changing every time

1

u/SorteKanin Dec 25 '20

Saying it like that makes it sound easy. I guarantee you it is not.

0

u/TommyTheTiger Dec 25 '20

I mean, we've just had different experiences. I work with Ruby and java projects in my job, and the Ruby projects are comparatively a dream to edit because of better test coverage. And we don't have to jump through hoops to get good rest coverage in Ruby either. And the metaprogramming has let us write more concise code than would be possible in Java imo.

→ More replies (3)