Dagger是一个编译期解决Dependency Injection的库,通过一些编译插件生成相应的源代码供使用。
相比guice,它可以提前发现错误,debug时也能定位到源代码。
但是,在Maven+Java+Idea中使用体验不佳,因为
- pom.xml中配置比较麻烦(还需要指定生成的源代码目录,好在Idea可以识别)
- 生成代码时必须手动运行相应的maven命令(比如
clean
,compile
),才能生效。
Run Hello.java
in your IDE.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.