3 ms·
Google has an amazing code search tool. You can try it out here[1]. That generally makes browsing source code much quicker and easier, which in turn makes u
by londons_explore 5y ago
Google has an amazing code search tool. You can try it out here[1]. That generally makes browsing source code much quicker and easier, which in turn makes understanding the structure of huge codebases much easier.
With that tool, I prefer to just dive into the source in most cases rather than read documentation, especially when there is a good chance the documentation is wrong/outdated.
[1]: https://source.chromium.org https://source.chromium.org
- preseinger 5y agoCode explains what and how, but not why. Why is necessary for building a robust mental model of any system, and can only be provided by documentation (or other humans).
- londons_explore 5y agoGoogles source code files frequently have 50+ lines of comments at the top of the file to explain the why...
- preseinger 5y agoRight, so, documentation... ?
- johnisgood 5y ago> https://source.chromium.org https://source.chromium.org Wow, it is pretty cool! Is there an open source software that is similar to this? It reminds me of https://elixir.bootlin.com/ https://elixir.bootlin.com/. I really want something like these two. A cross-referencer, but seems like the Chromium one does more (editing, for one). The Chromium one seems to do more git-related stuff as well. Currently checking out https://github.com/bootlin/elixir https://github.com/bootlin/elixir. Edit: Oh Wow, GitHub just improved their code search. Pretty cool. Seems like it can do cross-referencing (even between different repositories!).
- deleted 5y ago[deleted]