Was sind Docstrings in Java genannt?
-
03-10-2019 - |
Frage
Vor dem Java-Methoden haben wir so etwas wie:
/**
* Takes a number and returns its square root.
* @param x The value to square.
* @return The square root of the given number.
*/
public float getSqrt(float x) {
...
}
Hat dies einen Namen (wie Docstrings in Python)?
Andere Tipps
Yup, es heißt javadoc .
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow