|
From: Roberto Lo G. <rlo...@gm...> - 2010-12-28 07:52:34
|
I agree with all your 'whines' about coding standards, they are mine too, with the exception of unchecked exceptions (pardon the word repetition) as I'm not so sure about that. We could start writing a 'code convention' page on confluence about that... I'm starting the 3.0 from scratch, without porting the old codebase first, so the repo is mainly set up, you all need to create an account on codehaus, subscribe to the mailing lists and ask for developer access. Actually the svn repo is empty, I'll put something regarding builder and annotations very soon, but it will be only a 'proof of concept', don't expect much. Il giorno 28/dic/2010, alle ore 07:17, John Hurst <joh...@gm...> ha scritto: > Hello, > > Since you asked about the interface naming convention, here are a few other coding standards I would like to adopt: > > - We should switch to the Java standard brace style, which is end-of-line. Some of the committed code is already in this style, but the original code uses the opening-brace-on-its-own-line style. I think we should standardize the indentation size too. 4 chars? > - Classes, methods and fields should follow normal Java conventions. Underscores should not be used in field names like "_rowList". The interface ITableFilterSimple would be better named SimpleTableFilter or something like that. (Adjectives then noun.) > - We should name classes carefully and consistently. For example, we currently have IMetadataHandler and ITableMetaData, which is inconsistent. > - DbUnit exceptions should be changed to unchecked exceptions. I don't think checked exceptions are helpful in DbUnit. > - Also I wonder whether generally DbUnit should wrap checked exceptions such as SQLException in unchecked exceptions. What do you think about this? > > There are my pedantic whines about coding standards. > > I would be happy to make some of these changes (in particular the non-breaking formatting changes), but we'll need the repo set up and access first. > > Regards > > John Hurst > > -- > Life is interfering with my game > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > dbunit-developer mailing list > dbu...@li... > https://lists.sourceforge.net/lists/listinfo/dbunit-developer |