[LRUG] Dependency Injection and DHH
ali at happybearsoftware.com
Mon Apr 28 02:39:20 PDT 2014
+1x10^gazillion, The next time the topic of TDD comes up, I'm just going to
copy-paste this email. It's all I have to say on the topic and I don't
disagree with a single word :)
On Mon, Apr 28, 2014 at 10:30 AM, Gabe da Silveira <gabe at websaviour.com>wrote:
> On Sun, Apr 27, 2014 at 8:15 AM, Anthony Green <
> anthony.charles.green at gmail.com> wrote:
>> These kind of missives have a tendency to devolve to flame bait. TDD goes
>> through the same cyclical exchanges.
>> And this continues despite the 'TDD - Thats not what we meant'
>> As I get older I have an increasing desire to move on and focus on
>> exchanges that help me improve on the disciplines I've chosen to believe
>> will help me produce better software.
> To be fair, flame bait is one of DHH's prime MOs. His goal isn't nuanced
> discourse, as evidenced by his conflation of computer science with serious
> software engineering in the keynote. That said, I appreciate his challenge
> of TDD and architecture astronautism simply as a counterpoint to prevailing
> ideologies which, in the absence of push back, have a tendency to be cargo
> culted mercilessly.
> On the one hand, I think DHH's critiques of techniques for separating
> persistence and business model concerns are pretty weak since his entire
> career is based on controlling his own domain and keeping it dead simple.
> It's easy for him to shoot down the need for any more complex architecture
> because any small example for the sake of discussion is necessarily reduced
> below the scope where such structure is necessary. But on the other hand,
> I couldn't agree more that TDD/BDD do not lead to better designs--they lead
> to better tests, and good tests are just one metric of a good codebase.
> Ruby, of course, requires good tests to have any reliability over time
> whatsoever, but we shouldn't forget that tests are still ancillary. Being
> testable is only a small fraction of what makes a given architecture good.
> Chat mailing list
> Chat at lists.lrug.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chat