Hacker GitHub

← All repos

google/guice

View on GitHub ↗ ★ 12,730 Java

Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.

14 mentions on Hacker News by 14 people: 2 stories, 12 comments · first 2015-09-16 · latest 2024-02-21

Mentions per year 14 mentions · busiest year 2022 (3)
20082026
  1. …between dependency injection as a pattern and Guice as a framework that supports that pattern. https://github.com/google/guice/wiki
  2. …Injection means using tooling to "inject" the dependency, instead of passing an explicit argument. https://github.com/google/guice > Think of Guice's `@Inject` as the new `new`. Like many architecutral design patterns, toy examples don't…
  3. …in the 2000s. He was one of the original authors of the Guice dependency injection framework: https://github.com/google/guice . When I was earning Java readability at Google, I was fortunate to have had him assigned as a reviewer. Having…
    comment by matttproud · 2023-04-05 · in Remembering Bob Lee
  4. …before moving on to the payment industry. He was a well known figure in the Java world. RIP. [1] https://github.com/google/guice
    comment by kasperni · 2023-04-05 · in Remembering Bob Lee
  5. Would Google Guice count? https://github.com/google/guice
    comment by ayewo · 2022-11-27 · in The Rune Programming Language
  6. …that the DI framework is moving around. These DI frameworks already enforce object creation (see: https://github.com/google/guice/wiki/GettingStarted for example -- everything is an object). 2. public static factory classes have…
    comment by divyekapoor · 2022-02-15 · in Public Static Is Harmful
  7. ▲ 13
    Ask HN: Google Guice another abandonware from Google?
    story by xendo · 2022-01-17 · 11 comments
  8. ▲ 1
    Google Guice 5.0.0-BETA-1
    story by mkurz · 2020-11-02 · 0 comments
  9. …hell by offering a unique type system Many people, including Google engineers ( https://github.com/google/guice ) see DI as useful tool, not hell. But nothing prevents you to write your java code without DI if you don't like it.
    comment by riku_iki · 2018-04-30 · in Hello Go
  10. Indeed, Guice even recommends not to use (static) final fields. https://github.com/google/guice/wiki/Injections
  11. Because of things like: https://github.com/google/guice 4k LOC of "lightweight" garbage for... variable lookups?
  12. …that's about it. If there's anything else you'd like to know, let me know! [1] http://netty.io [2] https://github.com/google/guice [3] http://www.jooq.org [4] https://letsencrypt.org [5] http://mithril.js.org [6] https://getbootstrap.com…
  13. …when using a DI framework (e.g., using a Provider in Guice [1], or the equivalent in Dagger). [1] https://github.com/google/guice/wiki/CyclicDependencies
  14. …I'm thinking of were Google-internal, but there's a close public analogue with Guice & Dagger: https://github.com/google/guice https://github.com/square/dagger Imagine injecting Futures into your code. Now imagine injecting them, but…
    comment by nostrademons · 2015-09-16 · in Asynchronous IO in Rust