http://llvm.org/devmtg/2013-04/
—
clang-format - Automatic formatting for C++ - Daniel Jasper - Google
Slides: http://llvm.org/devmtg/2013-04/jasper...
—
Source code readability is an important aspect to ensure quality and long-term maintainability. However, manually formatting is a tedious job that simply takes a chunk out of every programmer's productivity. Moreover, the tediousness can actively discourage refactorings, e.g. removing or restructuring a function's parameters. There are tools that can provide some level of intelligent auto-formatting, but no tool has so far been able to keep developers happy in a reasonably-sized codebase. Therefore, we have set out to build clang-format, an intelligent C++ formatter based on Clang's infrastructure.
—
Note: Video uploaded for historically reasons.