Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed dead link to tutorial

...

  1. We allow 165 characters per line instead of only 80 characters. As modern screens are way bigger than those decades ago, the limitation to 80 characters in conjunction with human-readable method names result in ugly line-wrappings. To reduce this problem we double the line length.
  2. All parameters of methods are declared final as long they are not modified internally in the method.

Tutorial: Kieker Coding Conventions in Eclipse

How to set up Eclipse for Kieker Coding

...

StyleJavadoc

  • Use the @since tag for new classes, interfaces, enums and annotations. Use the tag also for all methods within interfaces.
  • Use the @author tag if you create a new class, enum, interface or annotation.
  • Setter and getter methods don't have to be commented.
  • Do not use package javadocs.
  • If you create a new class, interface, enum or annotation: Add a meaningful comments which describes what the component does and why it exists.
  • Do not mix javadoc and TODO comments. TODO comments should always be located outside of javadoc blocks.
  • In general document why something exists not what it does, as this should be obviously follow from the code. In addition you may add documentation to the developer guide.

...