Skip to content

Commit 5a6da6c

Browse files
committed
Add AI.md
1 parent 6d9a894 commit 5a6da6c

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

AI.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
# Increment: A-JavaDoc
3+
ChatGPT is used to write JavaDoc, most of its response was accurate, only some need editing, which save me lots of time </br>
4+
Prompt used:
5+
```ChatGPT prompt
6+
<method or class code>
7+
write a basic javadoc for this code
8+
example of baisc javadoc:
9+
/**
10+
* Returns lateral location of the specified position.
11+
* If the position is unset, NaN is returned.
12+
*
13+
* @param x X coordinate of position.
14+
* @param y Y coordinate of position.
15+
* @param zone Zone of position.
16+
* @return Lateral location.
17+
* @throws IllegalArgumentException If zone is <= 0.
18+
*/
19+
public double computeLocation(double x, double y, int zone)
20+
throws IllegalArgumentException {
21+
// ...
22+
}
23+
```
24+
# Increment: A-CodeQuality
25+
ChatGPT is used for code Quality improvement, most of my prompt is asking for further improvement of SLAP </br>
26+
Prompt used:
27+
```ChatGPT prompt
28+
<class or method code>
29+
does this follow SLAP?
30+
```
31+
32+
# Increment: BCD-Extension
33+
ChatGPT is used for generating idea on how to implement mass operation, however the idea generated was not very ideal </br>
34+
but has given me a good direction on its implementation </br>
35+
Prompt used:
36+
```ChatGPT prompt
37+
<project files related to delete command>
38+
i want to delete multiple task at one go
39+
```

0 commit comments

Comments
 (0)