4 ms·
From someone who loves RSpec along with its metaprogramming and DSLs, I agree that much of "magic" in Rails and its ecosystem is annoying. RSpec gets it right i
by reedlaw 11y ago
From someone who loves RSpec along with its metaprogramming and DSLs, I agree that much of "magic" in Rails and its ecosystem is annoying. RSpec gets it right in that it implements an elegant, readable DSL for a specific use case: testing. Rails does a good job at enabling rapid application development but it does a poor job at maintainability and testability. It's a trade-off, but one that I'm less willing to make for complex, long-term applications.
- rhizome 11y agoit does a poor job at maintainability and testability How do you figure?
- reedlaw 11y agoJust look at the article: > Progress over stability > We have to dare occasionally break and change how things are to evolve and grow. DHH has also revolted against TDD so it's no surprise that conventional Rails apps are hard to test.
- baconomatic 11y agoDDH was against TDD, but not against testing. http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html http://david.heinemeierhansson.com/2014/tdd-is-dead-long-liv...