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
20082026
-
…between dependency injection as a pattern and Guice as a framework that supports that pattern. https://github.com/google/guice/wiki
comment by TreyS · 2024-02-21 · in Inversion of Control Containers and the Dependency Injection pattern (2004) -
…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…
comment by gowld · 2024-02-21 · in Inversion of Control Containers and the Dependency Injection pattern (2004) -
…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 -
…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 -
Would Google Guice count? https://github.com/google/guice
comment by ayewo · 2022-11-27 · in The Rune Programming Language -
…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 -
Indeed, Guice even recommends not to use (static) final fields. https://github.com/google/guice/wiki/Injections
comment by fnl · 2017-11-11 · in Plain Functional Programming by Martin Odersky [video] -
Because of things like: https://github.com/google/guice 4k LOC of "lightweight" garbage for... variable lookups?
comment by sedachv · 2016-09-29 · in Modern Functional Programming: The Onion Architecture -
…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…
comment by hakvroot · 2016-03-25 · in Show HN: Station307 – Stream files between cURL, Wget and/or browser -
…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
comment by kilink · 2015-09-19 · in Better Java – Resources for Writing Modern Java -
…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