Ellen Spertus
04/14/2021, 10:19 PMgetFoo()
. The examples on https://kotlinlang.org/docs/kotlin-doc.html#kdoc-syntax put periods at the end of descriptions:
/**
* A group of *members*.
*
* This class has no useful logic; it's just a documentation example.
*
* @param T the type of a member in this group.
* @property name the name of this group.
* @constructor Creates an empty group.
*/
I'm teaching a capstone programming project course (in Kotlin, for the first time). Should I tell my students to follow the Javadoc rules or to emulate the example above?mikhail.zarechenskiy
04/15/2021, 12:28 PM