by igorgue · 14y ago · 0 comments
What's next? Tests are a waste of time?
P.S.: Not all Ruby programmers are like that obviously that's why this exists http://tomdoc.org/ Zack thinks the same way http://twitter.com/#!/holman/status/144579142367711234 And there's a good movement of Ruby hackers that think that way.
"While following the Model View Controller approach has made your code cleaner, and following conventions have reduced the need for documentation, there’s still plenty of room for improvement and too much time needed to instruct new developers."
That made me think that the goal was writing less documentation.
That's the shittiest documentation in existence.
Your tests are implementation documentation, they're useful (maybe) for other maintainers, and useless for third-parties trying to actually use your code.
> Want to know what a method does? Look at the tests for the method where it explicitly says what the method is doing and ensures it is functioning correctly.
Right, look at 700 lines of edge cases testing, that's informative and helpful. Not.
I'm going to call bullshit on that one all the same.