Live data from Hacker News

GitHub Code Search – Programmers' Goldmine

jakubdziworski.github.io

1–10 of 63 posts

Re: GitHub Code Search – Programmers' Goldmine

#2
This is what I've been using as of late to learn new technologies. I always seem to forget to tell younger developers about using this approach to learn.

Something else I would add is that you should try to find well known OSS contributors that work on projects that use tech/languages you use. If you monitor their projects you can pick up great habits from reading through their code.

Re: GitHub Code Search – Programmers' Goldmine

#3
Something so obvious yet I've never thought about using it like this before. Thanks for the tip OP!

Just tried a simple search for a lib I use and found great ways to refactor my code.

https://github.com/search?l=elixir&q=Exq.enqueue%28Exq&ref=s...

I'm going to use this method when learning about a new package.

Re: GitHub Code Search – Programmers' Goldmine

#8
Totally agree. It's one of the reasons I created searchcode.com back before github had code search and after google code search closed.

I doubled down by offering the locally installable one which I then deployed at my workplace. It has been useful for finding how other teams implement bluebird promises and general auditing for checked in AWS keys and the like. Now I think about it it is used lot for code auditing. Probably something I should focus on for new release.

Re: GitHub Code Search – Programmers' Goldmine

#10
as great as it is to be able to search source code in github is, it is equally (if not more) frustrating.

I think it works fine for simple searches mentioned in the post, but anything even slightly more advanced doesn't work very well. I also wish there was a way to search in branches other than master

Post reply on HN