TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Awesome-code-reading - A curated list of high-quality codebases to read

54 pointsby lucasleeover 6 years ago

6 comments

Vetreover 6 years ago
I like looking at much better code bases than my own when I am considering making something. It&#x27;s weird, but it really motivates me.<p>Here are a handful of ones that I really like (all related to gaming):<p>DOOM:<p><a href="http:&#x2F;&#x2F;fabiensanglard.net&#x2F;doom3&#x2F;index.php" rel="nofollow">http:&#x2F;&#x2F;fabiensanglard.net&#x2F;doom3&#x2F;index.php</a> - A great overview of it, mentioning the third game and its variants. Their whole github is pretty great. Just worth noting that many people consider Carmack&#x27;s code to be some of the best in the industry. Really worth a read.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;fabiensanglard&#x2F;Doom3-for-MacOSX-" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fabiensanglard&#x2F;Doom3-for-MacOSX-</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;id-Software&#x2F;DOOM" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;id-Software&#x2F;DOOM</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;id-Software&#x2F;DOOM-3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;id-Software&#x2F;DOOM-3</a><p>Monogame:<p>The Open Source implementation of Microsoft&#x27;s XNA game dev framework. Really well loved C# code. And they keep it very clean.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;MonoGame&#x2F;MonoGame" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MonoGame&#x2F;MonoGame</a><p>Battle for Wesnoth:<p>Famous and well loved open source 4x game<p><a href="https:&#x2F;&#x2F;github.com&#x2F;wesnoth&#x2F;wesnoth" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wesnoth&#x2F;wesnoth</a><p>Rogue-Likes:<p>There are a bunch of rogue-likes that are open source. It&#x27;s a lovely look at the evolution of the genre and old school limitations. The genre as a whole is very open source friendly.<p><a href="http:&#x2F;&#x2F;rephial.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;rephial.org&#x2F;</a> - Angband<p><a href="https:&#x2F;&#x2F;github.com&#x2F;crawl&#x2F;crawl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;crawl&#x2F;crawl</a> - Dungeon Crawl Stone Soup<p>Lastly, here is a list of open source games. I would argue a huge chunk are not that nice. But there are gems in here. <a href="https:&#x2F;&#x2F;github.com&#x2F;leereilly&#x2F;games" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;leereilly&#x2F;games</a>
评论 #18295828 未加载
lucasleeover 6 years ago
Thanks for checking out my project. Here is some background information.<p>I contributed to a few open source projects over the years, but I only focused on solving the problem I had, either a bug I wanted to fix or a feature I wanted to add. Once my issue was resolved, I didn&#x27;t really care much about the rest of the project. I found it was less of a learning opportunity.<p>That&#x27;s why I created this project to really track down the codebases that you can read from start to finish and learn how they are designed and implemented. Currently it only lists a few codebases that I actually have read. They are mostly small-size projects. I&#x27;d like to hear advice on how to approach and learn from a large project.
评论 #18296336 未加载
kureikainover 6 years ago
I like this idea. I run a news letter[0] and we have a sections call `Code to read`. People love it.<p>That&#x27;s being said, your repository probably end up on my next issue :).<p>---<p>[0] <a href="https:&#x2F;&#x2F;betterdev.link" rel="nofollow">https:&#x2F;&#x2F;betterdev.link</a>
评论 #18300715 未加载
artparover 6 years ago
I curated a similar list of codebases from HN comments here<p><a href="https:&#x2F;&#x2F;medium.com&#x2F;@012parth&#x2F;what-source-code-is-worth-studying-8755f88f8de5" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@012parth&#x2F;what-source-code-is-worth-study...</a>
评论 #18300971 未加载
mettamageover 6 years ago
How do you go about reading codebases? I once fired up a debugger to go through ExpressJS and I learned some things from it. At the same time I wonder how I can do it efficiently.
rc_hadokenover 6 years ago
No Python?...seriously? I&#x27;m still learning so I don&#x27;t have any clout to throw around concerning a good Python code-base. Any suggestions?
评论 #18296420 未加载
评论 #18298540 未加载
评论 #18293265 未加载
评论 #18325096 未加载