4 ms·
The thing about code reading for me is you have to have decent tooling. It's pointless reading code in Github, especially for a codebase you are not familiar w
by djhworld 9y ago
The thing about code reading for me is you have to have decent tooling.
It's pointless reading code in Github, especially for a codebase you are not familiar with, you need to get the codebase open in an IDE to be able to dive in quickly and back again to build the map out in your head. I don't think you can read a portion of code from top to bottom without having tooling....unless the piece of code is really short and just one or two files
- wkz 9y agoThe one online tool that I use for this kind of work is Woboq Code Browser. It's only C/C++ projects and not many are freely available. The Linux kernel is though and I spend a lot of time in that code base. glibc, gcc and llvm are also available. https://code.woboq.org/ https://code.woboq.org/
- guruz 9y agoWhich projects would you like to see on code.woboq.org? Maybe we can add them.
- karmakaze 9y agoAbsolutely this. You can always tell a PR reviewed via web. Unless it's very localized, I always open up the branch in an IDE and follow the flow through the abstractions and see if the changes make sense, and if there are additional opportunities or less clear gray areas of operation. It will be even better when web tools catch up. Could be even better if they can navigate across repos in different languages even without even checking out a single file.