I agree, there are a lot of inconsistencies in the coding style. That being said, it is not easy to maintain a fully consistent style with a couple hundred programmers over the course of nearly 20 years. We usually don’t make big cleanup passes to conform the entire code base, but fix things up as we go, i.e. if we change some function implementation or class declaration we clean up some of the surrounding code. While this takes a lot longer to get the desired result, it also helps us maintain comprehensibility of changes over time, which is quite important, because we frequently merge code branches and also have to go back in history to track down certain changes.