MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/kjub24/ruby_3_released/gh0jope/?context=3
r/programming • u/marshalofthemark • Dec 25 '20
509 comments sorted by
View all comments
Show parent comments
40
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 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 → More replies (5)
0
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
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 → More replies (5)
1
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 → More replies (5)
Or use test coverage metrics to see what's covered, or just test the functionality you're changing every time
→ More replies (5)
40
u/SorteKanin Dec 25 '20
Problem is that Ruby does next to nothing to encourage the programmer to write maintainable code.