I'm looking for recommendations of github repos with good comments/pull requests. I'm a beginner and find reading through these kinds of things really helpful. Especially when someone chimes in with 'There a better way of doing this... because...' kinda comments.
评论:
cs-guy:
Lafyr:Disclosure: I'm a contributor to the project, but rather than imply the quality is due to my involvement I want to emphasize that I recommend it because of how much I have learned by being involved with the project. I think reading through the closed issues and pull requests (both accepted and rejected) can provide many real world examples of lively (and respectful) design debates that have led to some nice Go packages.
sh41:Thanks! I'll be browsing it this evening.
Lafyr:https://github.com/google/go-github
Disclosure: I'm a contributor to and maintainer of the project. It's a fairly simple API wrapper, so most of the PR reviews are about making sure things are consistent, correct, well documented and tested. However, there are subtle edge cases that come up regarding API design, JSON encoding/decoding, pointers, etc. Perhaps it can be insightful as an example of the kinds of things one can pay attention to. There are many more merged PRs than open.
Thanks!
