- git搞懂
- guice看
- 看代码
- 删备忘录
- 公司的书架上有 Effective Java,重构,以及 Java 函数编程。如果你们不是特别熟悉建议看看。特别是 Effective Java 就是我昨天说的 Joshua Bloch 写的。写「重构」的 Martin Fowler 也是一个比较厉害的人物。他写的架构文章都值得看看(blog里面)http://martinfowler.com/
- 头发
- @rule
- @parameterized
This code is clumsy.
be responsible for
inspect
Building object graphs by hand is labour intensive, error prone, and makes testing difficult.
To make it explicit that theBillingService
constructor is invoked by Guice, we add the @Inject
annotation:
Guice uses bindings to map types to their implementations.