TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are some of the ways to learn codebases

6 点作者 hhimanshu超过 8 年前
Last time https://news.ycombinator.com/item?id=8263402 article appeared in 2014, I wanted to see if there are methodologies that people have adopted not listed in this article? I would like to hear your experiences. Feel free to contribute here or at https://gist.github.com/hhimanshu/714962f4205d7dddc7e5991a86412805. I would make notes and update the page. Thanks

4 条评论

gjvc超过 8 年前
Learning a codebase requires fast navigation. ctags or a good IDE help with that.
pizza超过 8 年前
<i>&quot;Follow the money!&quot;</i> - but instead of money, follow the data;<p>- sort source code by filesize<p>- look at the large methods &#x2F; code blocks<p>- browse through the &#x2F;examples&#x2F; and &#x2F;tests&#x2F; dirs to familiarize yourself with typical usage
zzzcpan超过 8 年前
Runtime call tracing is the missing methodology. I haven&#x27;t found anything better over the years and always implement them if I have to learn things quickly. Made one for nginx even.
评论 #13463255 未加载
dsschnau超过 8 年前
Biggest thing for me is to talk to whomever wrote it, or if they&#x27;re not available, whomever has the most knowledge of the codebase.