ChatGPT is used to write JavaDoc, most of its response was accurate, only some need editing, which save me lots of time
Prompt used:
<method or class code>
write a basic javadoc for this code
example of baisc javadoc:
/**
* Returns lateral location of the specified position.
* If the position is unset, NaN is returned.
*
* @param x X coordinate of position.
* @param y Y coordinate of position.
* @param zone Zone of position.
* @return Lateral location.
* @throws IllegalArgumentException If zone is <= 0.
*/
public double computeLocation(double x, double y, int zone)
throws IllegalArgumentException {
// ...
}
ChatGPT is used for code Quality improvement, most of my prompt is asking for further improvement of SLAP
Prompt used:
<class or method code>
does this follow SLAP?
ChatGPT is used for generating idea on how to implement mass operation, however the idea generated was not very ideal
but has given me a good direction on its implementation
Prompt used:
<project files related to delete command>
i want to delete multiple task at one go