-
-
Notifications
You must be signed in to change notification settings - Fork 944
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add analyzer comments for Lasagna on the Java track (#2317)
* Add analyzer comments for Lasagna on the Java track * Update analyzer-comments/java/lasagna/reuse_code.md
- Loading branch information
1 parent
3233c67
commit dfe267b
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Exemplar | ||
|
||
🎉 Your solution to %<exerciseName>s is exemplar, congratulations! | ||
It is exactly what we think is the most idiomatic implementation of the tasks at hand. | ||
Rejoice! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Remove TODO comments | ||
|
||
It looks like you left some `// TODO: ...` comments in your code that were part of the solution stub. | ||
|
||
Your code passes the tests, which means those comments are no longer true - you already implemented everything that is necessary. | ||
|
||
Make sure to always remove outdated comments from your code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Reuse code | ||
|
||
The `%<callingMethod>s` method should reuse the logic implemented in `%<methodToCall>s`. | ||
Reusing existing methods can help make code easier to maintain. |