On Mon, 17 Dec 2007 17:44:48 +0100 Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
> Richard S. Hall wrote: > > On Mon, 17 Dec 2007 10:30:09 -0000 > > [EMAIL PROTECTED] wrote: > > > > Our coding style guide says that we do not list all imported packages after > > exceeding a "readability limit"...I am not sure what the readability limit > > is, but for me in Eclipse I set it to 3 references beforing going to > > "*"...does anyone know if it is possible to set this limit in NetBeans? > > > > At any rate, do we need to be more specific in our coding style guide? > > > Yes :) This is something I wanted to address but totally forgot about > it. Sorry for first committing. > > I think we should always list all imports - the readability limit is in > most cases more or less useless. If you import from a lot of packages it > doesn't help anyway (now we could argue if importing from a dozen > packages is a good thing, but thats a different story). And if you want > to see what a class is exactly using, a complete list of all imports is > much more helpful. > > Modern ides can hide all imports in the editor anyway. I prefer to not list them all and I do regularly open in vi for quick edits. However, I am willing to go with consensus opinion, but my vote would be "-1". -> richard > > Carsten > > > -- > Carsten Ziegeler > [EMAIL PROTECTED]
