1 thought on “reading nginx source code is painful”

  1. I almost laughed out loud when I saw this post (not AT you, though). I thought it was funny because I realized just how differently people think.

    I think that nginx’s source code is the easiest to read of all the open source code I’ve ever seen. I needed functionality that didn’t exist so I spent maybe 20 minutes getting to know it’s source. Another 20 minutes later I had the new functionality I needed built into it. I’ve never seen such clean, organized and easy to understand code.

    The only thing that I didn’t like is the format of function implementations where the return type sits above the function name instead of inline with it. But that’s a small gripe.

    Is there something specific you’re having trouble with?


Leave a Comment