Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

CouchDB's HTTP API used to fit in just one file (less than 1k lines of Erlang), and it was a great jumping-off point for learning databases and web programming: https://github.com/apache/couchdb/blob/0.8.1/src/couchdb/cou...

It was written by one engineer, and then later refactored by a team to look like this (and many other files): https://github.com/apache/couchdb/blob/main/src/chttpd/src/c...

It's an interesting exercise to see how something grows and changes as it transitions from inspiration to real-world usage.



So little blank lines, I need to breathe




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

Search: