r/programming • • Sep 26 '09

Ask Proggit: What are the most elegantly coded C/C++ open source projects?

I've recently been reading (parts of) the source for sqlite3 and found it to be a revelation in good programming practise.

What other C/C++ open source projects (of any size) would you recommend that I look at, in order to get an idea of current good practise?

144 Upvotes

292 comments sorted by

View all comments

Show parent comment

1

u/tryx Oct 18 '09 edited Oct 18 '09
Deliverymode=!!strncmp(lastdirsep(argv0=argv[0]),procmailn,
 STRLEN(procmailn));

Is that a.. did he just put a double negative in his condition?