jeremy.marzhillstudios.com/content/dependency-injection-with-guice-sucks.md

17 lines
381 B
Markdown
Raw Normal View History

2020-04-12 10:56:18 -04:00
+++
title = "Dependency Injection with Guice Sucks"
date = 2010-07-14
timeformat = "2006-01-02"
in_search_index = true
+++
2020-04-12 09:34:11 -04:00
I've learned to hate Guice lately.
* It decouples the wrong things.
* It hides details you care about.
* It doesn't do anything a Factory class wouldn't do better.
* It locks you in (Nobody leaves Guice... No Body)
Therefor
* It's harder to reason about.