Refactoring-Summary
Refactoring-Summary | ||
---|---|---|
2 | 2 | |
684 | 60 | |
- | - | |
0.0 | 8.7 | |
over 1 year ago | 6 months ago | |
Go | ||
- | MIT License |
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
-
Ask HN: Where do I find good code to read?
the right amount of context + easy-to-use tooling
- Code culture; follow industry best practices and make it clear where & why you deviate
My personal favorite one: `make todo_list`
We use keywords (TODO, OPTIMIZE, HACK, etc…) through the codebase and make them easily searchable with make helpers.
Ref: https://github.com/pokt-network/pocket/blob/main/Makefile#L5...
- GitHub Pull Request Workflow (20 minute video comment)
What are some alternatives?
glib - Read-only mirror of https://gitlab.gnome.org/GNOME/glib
clara-rules - Forward-chaining rules in Clojure(Script)
sqlite - sqlite mirror
retlang
mx-chain-go - ⚡ The official implementation of the MultiversX blockchain protocol, written in golang.
htmx - </> htmx - high power tools for HTML
beanie - Asynchronous Python ODM for MongoDB
deno_std - deno standard modules
CodeView - Display code with syntax highlighting :sparkles: in native way.