Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions exercises/concept/jedliks-toy-car/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@
- `strings`: know how to do basic string interpolation.
- `numbers`: know how to compare numbers.
- `conditionals`: know how to do conditional logic.

## Analyzer

This exercise could benefit from the following rules in the [analyzer]:

- `essential`: Verify that the solution keeps the void type for the drive function.
- `essential`: Verify that the solution has fields in the class
- `actionable`: If the solution defines the fields as `public`, instruct the student to use `private` and explain the encapsulation principle.
- `informative`: If the solution does not use a primitive as a type for the fields, inform the student to use it.
Explain that the values cannot be null and it is less error-prone

[analyzer]: https://github.com/exercism/java-analyzer