The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Google Guice: new Dependency Injection framework

I tried posting about this a couple of days ago but I guess someone mistook it as spam. Basically Google has released a new Dependency Injection framework: http://code.google.com/p/google-guice/

  and I was wondering what you guys thought of it. There is an hour-long video of the authors discussing it here: http://video.google.com/videoplay?docid=6068447410873108038&q=guice

  Normally I steer away from frameworks and opt for libraries instead, but this time I think I will be making an exception :)

Gili
Gili Send private email
Monday, June 04, 2007
 
 
For future reference: your earlier post was deleted because it was just a link without any context or further information.
John Topley Send private email
Tuesday, June 05, 2007
 
 
My appologies. Thank you for the clarification John :)

On a sidenote, the Google Guice guys recently posted a second video contained "Advanced Guice Techniques": http://video.google.com/videoplay?docid=121403207358911729&q=guice

Gili
Gili Tzabari Send private email
Tuesday, June 05, 2007
 
 
I like their taste in naming to make it obvious what's going on: "Name the field's class clearly though; InjectorHack and GodKillsAKittenEveryTimeYouUseMe come to mind/"
Stan James Send private email
Tuesday, June 05, 2007
 
 
I felt nauseous as soon as I saw the word "Struts" on the project home page.
John Topley Send private email
Tuesday, June 05, 2007
 
 
heh. I use Wicket myself. I think that by now there are almost as many web frameworks as there are developers.

Guice is not dependent on webapps though, struts support is purely a plugin.

Gili
Gili Send private email
Tuesday, June 05, 2007
 
 
I think I can create my own objects thank you very much. It's like having an addition framework to wire together all the numbers I want to add.
son of parnas
Thursday, June 07, 2007
 
 
"Dependency Injection" - I never liked that term.

It sounds like something incestuous going on between your kids.
flameThis
Thursday, June 07, 2007
 
 
Just like they say in the user guide, in 80% of the cases you don't need and IoC framework. I couldn't agree more; plus somehow I fail to see the 20% of the cases where this is actually useful. If you write you code with IoC in mind the IoC framework is fairly useless.

That and the documentation totally sucks.

PS It's worth going through their code though; they do some really neat stuff.
Dino Send private email
Monday, June 11, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz