Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For inline comment with the code, use the usual // or and not /*  .. */ as it seems fit.

Code Block
languagescala
// This is a short, single line comment
 
//* This is a long singlemulti line comment, where this style also works. */
 
/*
 * This is a multi line comment.
 * Bla bla bla.
// Bla bla bla
 
/*
 * Do not use /* */ for multi line comments. This style
 * of comment interferes with commenting out blocks of
 * code with /* */, and also makes code comments harder
 * to distinguish from Scala doc / Java doc comments.
 */
 
/**
 * Do not use scala doc style for inline comments.
 */

...