3 ms·
Ask HN: Tips on good source code?
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!
My skills: Python > Java > C > *
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.
-Kristian
- yaxdotcom 16y agoIf 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. https://github.com/fortuity/rails3-mongoid-devise https://github.com/fortuity/rails3-mongoid-devise
- beagle3 16y agofor C code: Anything by djb. http://cr.yp.to http://cr.yp.to Unconventional, but top quality. for C or Python code: Anything by Avery Pennarun (http://apenwarr.ca http://apenwarr.ca - his stuff is on GitHub) for C or Lua code: Anything by Mike Pall (http://luajit.org http://luajit.org) The Python interpreter is mostly a joy to read. FLTK is a great example of C++ code from the days before template worms ate everyone's brains.
- 2rs1 16y agoThank you both! :)