Ruby Midwest 2011 - Keynote: Architecture the Lost Years by Robert Martin
Confreaks · 3 位 HN 用户推荐 · 2014–2016
And the OP is also right in that Rails is a bad environment for TDD, as far as I can tell, because all the magic and auto-integration gets in the way and has to be laboriously stubbed/mocked etc. Maybe it's time the community got over Rails. (See also Uncle Bob's excellent architecture talk: [link] ).
— mpweiher, 2014A great example of this is Bob Martin saying that you are absolutely doing it wrong if you don't write your tests before your code and if you don't restrict your writing of app code to the pure case of making a failing test which you wrote first pass. This is an extremist ideology, and many of us are tired of having this thrown in our face over and over again. Here is Bob saying this: [link]
— jshen, 2014Domain Driven Design (The book is hard to read, but worth it I think) [link] This uncle bob talk is not too bad [link]
— dreistdreist, 2016