Hacker News new | ask | show | jobs
by reedlaw 3804 days 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.
1 comments

it does a poor job at maintainability and testability

How do you figure?

Just 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.

DDH was against TDD, but not against testing.

http://david.heinemeierhansson.com/2014/tdd-is-dead-long-liv...