Hacker News new | past | comments | ask | show | jobs | submit login

Postgres code is very good, redis as well. Some of the core parts of Linux also totally worth learning from.

I also remember how Qt UI code and docs were a revelation after the nightmare of win32 and related frameworks.

Bellard's original Tinycc was very entertaining and took a while to digest.

Most old and well-maintained projects are worth learning from.

Apart from some local tips and tricks what is more important is understanding that there's nothing special about other people's code.




Seconding redis, and noting that the original redis source code is _also_ an interesting read and demonstrates how approachable well-written tcl is, even for those entirely unfamiliar with it as a language: https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e...


Which part of linux core? I’ve been wanting to but I don’t know how/where to start


I enjoyed reading the VFS layer down into the NFS client file ops and then the RPCs created from them. (skip the RPC state machine)

An easier entry point might be the ethtool_ops in an earlier Intel network driver like e1000.


Redis, yes, even if you do not like/know C, that code is so clean that is readable/understandable by most programmers.


Qts documentation is a minefield but their source code is really nice and easy to read.


+1 for redis, first code I read that felt like artisan craftsmanship, approaching art.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: