Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Beehive is currently considering a set of coding conventions.

The current proposal is based on the 'Java Conventions' from Sun with the following modifications:

  • Wiki Markup
    \[2.2\] use README.txt instead of README

  • Wiki Markup
    \[3.1.1\] use the ASF source header with a current copyright date

  • Wiki Markup
    \[4\] explicitly define indentation as 4 spaces

  • Wiki Markup
    \[4.1\] use of 120 character lines

  • Wiki Markup
    \[6.3\] allow declaration of variables before use

  • Wiki Markup
    \[7.4\] use a newline before else

  • Wiki Markup
    \[7.9\] use a newline before catch

  • Wiki Markup
    \[9\] allow the use of "_" as a prefix for class-level variable names

  • Wiki Markup
    \[10.5.1\] Make an exception for && and | -- no parentheses required around their component expressions

  • Wiki Markup
    \[10.5.2\] Drop this requirement

  • Wiki Markup
    \[10.5.4\]use "todo" instead of "fixme"

  • discontinue use of the "I" naming convention for interfaces