mirror of
https://github.com/zaphar/jeremy.marzhillstudios.com.git
synced 2025-07-22 19:39:56 -04:00
17 lines
381 B
Markdown
17 lines
381 B
Markdown
+++
|
|
title = "Dependency Injection with Guice Sucks"
|
|
date = 2010-07-14
|
|
timeformat = "2006-01-02"
|
|
in_search_index = true
|
|
+++
|
|
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.
|
|
|