is it just me? reading nginx source code is painful, as tons of callbacks without much explaination on when and how they will be called. the functions are extremely long and complicated
Answers to your questions
is it just me? reading nginx source code is painful, as tons of callbacks without much explaination on when and how they will be called. the functions are extremely long and complicated
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?