And so in Ruby, we use test frameworks with advanced mocking, as well as runtime-reflection coverage measurement.
Metaprogramming: the cause of, and solution to, all of life's problems.
Re:Burying your dead code
by jimktrains2 on Thursday September 07, 2017 @02:43PM
(#15194639)
> And so in Ruby, we use test frameworks with advanced mocking, as well as runtime-reflection coverage measurement.
No matter how many times you say it, that doesn't make it true.
Care to elaborate?
Re:Burying your dead code
by Buttons840 on Thursday September 07, 2017 @06:01PM
(#15196168)
I think he means that you seem to be speaking for all of the Ruby community (that is, people who write Ruby code). I've personally seen that not all of the Ruby community writes tests, because I've seen Ruby code that doesn't have tests. In fact, I've had coworkers who work with Ruby in multiple jobs in different industries, and in all cases the Ruby application had very few or no tests.
Python's cold acceptance is already enough to make big projects impractical on it, because every large codebase will gather some undecidable metaprogramming spread through it. But Ruby gets it everywhere.