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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Tips on good source code?

2 点作者 2rs1超过 14 年前
I got some free time before my next semester, and I got a couple of ideas I want to try out. But most of them includes multiple users and databases. That aint my strongest side, so I'm looking for some good source code I can read and learn from. Can you guys recommend something? Source code or just a good read!<p>My skills: Python &#62; Java &#62; C &#62; * I recently downloaded, installed and used my first database with MongoDB (beside MS Access about 5 years ago). So I guess that a project that uses mongodb and django would be awsome.<p>-Kristian

3 条评论

yaxdotcom超过 14 年前
If you want to see how it's done in Ruby on Rails, here's an example app with authentication and user management and MongoDB for data. With a tutorial. <a href="https://github.com/fortuity/rails3-mongoid-devise" rel="nofollow">https://github.com/fortuity/rails3-mongoid-devise</a>
beagle3超过 14 年前
for C code: Anything by djb. <a href="http://cr.yp.to" rel="nofollow">http://cr.yp.to</a> Unconventional, but top quality. for C or Python code: Anything by Avery Pennarun (<a href="http://apenwarr.ca" rel="nofollow">http://apenwarr.ca</a> - his stuff is on GitHub) for C or Lua code: Anything by Mike Pall (<a href="http://luajit.org" rel="nofollow">http://luajit.org</a>)<p>The Python interpreter is mostly a joy to read.<p>FLTK is a great example of C++ code from the days before template worms ate everyone's brains.
2rs1超过 14 年前
Thank you both! :)