4 ms·
In the past, I've found the code for SQLite to be brilliantly clear: http://sqlite.org http://sqlite.org Going further, I'd suggest that most large successful
by nkurz 16y ago
In the past, I've found the code for SQLite to be brilliantly clear: http://sqlite.org http://sqlite.org
Going further, I'd suggest that most large successful projects in C have clear code that is worthy of study. It's some corollary of the anthropic principle --- if the code wasn't clear, it would never have survived to become successful.
This may only apply to the core of these projects (written by experts) than to the periphery (written by learners). But you might be surprised by how readable the central code is for Apache, Linux, Glibc, Mysql, Perl, Python, etc.
- GeneralMaximus 16y agoI second SQLite. They even have the entire source concatenated into a single file, which means you don't have to use ctags (or equivalent) for jumping around the project.