Refactoring-Summary
dagger
Refactoring-Summary | dagger | |
---|---|---|
2 | 1 | |
684 | 7,277 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
Java | ||
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Refactoring-Summary
-
Ask HN: Where do I find good code to read?
I find that reading books rather than code tends to be more helpful in terms of finding good takes on what clean code is -- more specifically books on refactoring or specific language-related features (like 'Effective Java' or 'Fluent Python'). The issue with just reading code is that many times - you'll miss out on why the author chose to use the expression or abstractions which they chose to use. Reading a book at least takes you through author's thought process. For an alternative - you could always browse repositories which contain notes on refactoring as well like this one (which does a good job summarizing some of the key principles from Fowler's book on refactoring):
https://github.com/HugoMatilla/Refactoring-Summary
-
Is it okay to return my original List/Collection/Datastructure I'm storing my data in or is that against some OOP principals?
https://github.com/HugoMatilla/Refactoring-Summary#28-encapsulate-collection
dagger
-
Ask HN: Where do I find good code to read?
I learned a ton about Java and pragmatic algorithm development from reading Dagger (https://github.com/square/dagger) and porting it to C#. It's small enough that you can grok it in a reasonable amount of time, but sophisticated enough that there's a lot to learn. (Yes it's deprecated in favor of Dagger 2, but the latter is a tougher slog IMO)
Actually most of the big Square OSS libraries are great to read - okio, okhttp, picasso.
What are some alternatives?
glib - Read-only mirror of https://gitlab.gnome.org/GNOME/glib
butterknife - Bind Android views and callbacks to fields and methods.
sqlite - sqlite mirror
AndroidAnnotations - Fast Android Development. Easy maintainance.
clara-rules - Forward-chaining rules in Clojure(Script)
roboguice - Google Guice on Android, version 3.0 [RETIRED]
retlang
transfuse - :syringe: Transfuse - A Dependency Injection and Integration framework for Google Android
pocket - Official implementation of the Pocket Network Protocol v1
PreferenceInjector - A SharedPreference "injection" library for Android
beanie - Asynchronous Python ODM for MongoDB
LiteAuto - lite your android ! the code is on the way~