
Paul A Bristow wrote:
This looks an *excellent* aid to code consistency.
No need for version 2, actually - Vera++ can also transform code. Most of the rules have simple corrections than can be automated. For example, there is a rule that forbids trailing whitespace. Interestingly, there is also a transformation that removes them. Simple.
It's indeed very interesting. My coworkers have started using some code consistency/checking tools which do similar things. Vera++ seems extremely interesting but the lack of built-in rules prevents adoption. Furthermore these scripts aren't easily configurable, they have to be hand-edited at invocation. This implies having a bunch of shell scripts to do anything robust. Having a configuration file which allows the selection of rules & filters as well as their parameterization would be interesting. Having a GUI for this configuration file would be even better. Don't get me wrong: I really like what you did, I just don't think it's quite "there" yet. JF