[LRUG] Dependency Injection and DHH

Nick Griffiths nicobrevin at gmail.com
Sat Apr 26 22:55:05 PDT 2014


Oh, whoops, I totally didn't read your post and wrote that from some vague
memory of some post I read of his address so please ignore me.
On 27 Apr 2014 17:53, "Nick Griffiths" <nicobrevin at gmail.com> wrote:

> I found the monkey patching approach I think he suggests is quite brittle,
> especially if you've got a large code base.  Also it can be unclear what's
> coming from where.
>
> DI doesn't have to be done in some crazy Java way, it can be done
> succinctly in ruby and end up with nice readable code without a
> dependencyfactoryspiproviderimpl.
> On 26 Apr 2014 01:25, "Sleepyfox" <sleepyfox at gmail.com> wrote:
>
>> I'm wondering what those who were at RailsConf and listened to DHH's
>> keynote - or have watched the video:
>> http://www.justin.tv/confreaks/b/522089408 - thought about his
>> description of dependency injection making code worse?
>>
>> Fox
>> --
>> "What does the @sleepyfox say?"
>>
>>
>> _______________________________________________
>> Chat mailing list
>> Chat at lists.lrug.org
>> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140427/35a3c103/attachment.html>


More information about the Chat mailing list