File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
exercises/concept/tim-from-marketing/.meta Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 18
18
19
19
- ` strings ` : strings will be compared to null and basic methods from strings will be called.
20
20
- ` if-else-statements ` : using a conditional statement.
21
+
22
+ ## Analyzer
23
+
24
+ This exercise could benefit from the following rules in the [ analyzer] :
25
+
26
+ - ` actionable ` : If the solution uses ` Optionals ` to solve the exercise, encourage the student to try solving it using ` null ` instead.
27
+ - ` informative ` : If the solution uses ` String.format ` , instruct the student to use simple string concatenation instead.
28
+ Explain that ` String.format ` is significantly slower than concatenating strings and should be used in more complex scenarios.
29
+
30
+ If the solution does not receive any of the above feedback, it must be exemplar.
31
+ Leave a ` celebratory ` comment to celebrate the success!
32
+
33
+ [ analyzer ] : https://github.com/exercism/java-analyzer
You can’t perform that action at this time.
0 commit comments