Skip to content

Commit

Permalink
Add analyzer comments for Lasagna on the Java track (#2317)
Browse files Browse the repository at this point in the history
* Add analyzer comments for Lasagna on the Java track

* Update analyzer-comments/java/lasagna/reuse_code.md
  • Loading branch information
sanderploegsma authored Jan 22, 2024
1 parent 3233c67 commit dfe267b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions analyzer-comments/java/general/exemplar.md
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!
7 changes: 7 additions & 0 deletions analyzer-comments/java/general/remove_todo_comments.md
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.
4 changes: 4 additions & 0 deletions analyzer-comments/java/lasagna/reuse_code.md
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.

0 comments on commit dfe267b

Please sign in to comment.