drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Style guide for Drill development ?
Date Wed, 24 Oct 2012 13:02:36 GMT
I have been using very standard Sun style with 4 space indentation.  This
is the standard setting for IntelliJ.

Other aspects of standard code should include lots of tests, clear naming
and good comments.

None of this is very controversial.  The only unusual things that Apache
projects usually insist on are a) no @author tags in javadoc and b) apache
copyright at the top.

Another way to look at it is that we use the Lucene/Hadoop/Mahout style
with four spaces instead of 2.  See
http://wiki.apache.org/lucene-java/HowToContribute#Making_Changes and

For now, I am happy to be a human style checker.

On Wed, Oct 24, 2012 at 12:00 AM, Arunabha Ghosh <arunabha.gh@gmail.com>wrote:

> Hi Folks,
>               I was wondering if there is an existing style guide for code
> in the Drill project ? If not it would be good to get one defined soon as a
> uniform style throughout the codebase certainly helps. Once the style guide
> is defined, it would be fairly easy to provide config files for
> Eclipse/IntelliJ to automatically format according to the Style Guide.
> Arunabha

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message