Searching for code without understanding could lead one astray. Even such places as Rosettacode host a buggy code. http://karma-engineering.com/lab/blog/DoNotCopyPasteShit
GitHub Code Search – Programmers' Goldmine
11–20 of 63 posts
Re: GitHub Code Search – Programmers' Goldmine
#12Re: GitHub Code Search – Programmers' Goldmine
#13as 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
This is actually an insanely hard problem to solve, given current technology. Right now, you can either try to index a little bit of everything, which is what GitHub and others (GitLab, Bitbucket, etc.) are doing. Or you can take the approach that I'm taking, which is make it possible for the user to search any branch they want, but limit the number of repositories they can search in parallel.
GitHub and my approach are definitely targeted at two different use cases. My background is Enterprise, which is why my search solution is based on "search relevance", while GitHub is more focused on "search discovery", which is more suited for finding random things.
Re: GitHub Code Search – Programmers' Goldmine
#14Re: GitHub Code Search – Programmers' Goldmine
#15Searching for code without understanding could lead one astray. Even such places as Rosettacode host a buggy code. http://karma-engineering.com/lab/blog/DoNotCopyPasteShit
Re: GitHub Code Search – Programmers' Goldmine
#16Re: GitHub Code Search – Programmers' Goldmine
#17Re: GitHub Code Search – Programmers' Goldmine
#18Re: GitHub Code Search – Programmers' Goldmine
#19Re: GitHub Code Search – Programmers' Goldmine
#20If anyone from github is reading this, I would totally pay for a much better search. Like even $20-30/month. If you deduplicate results (it sucks when you are searching for something that's appears In a popular library) and like make it integrated with my ide, I think that it would spike my productivity by like thousand percent.