You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding analyzer feedback for need for speed concept exercise (#2702)
* Adding analyzer feedback for need for speed concept exercise
Also as loops are not a prerequisite of the concept I made some changes to the reference resolution
* Updating constructors design.md because it was a copy of another concept exercise
Copy file name to clipboardExpand all lines: exercises/concept/need-for-speed/.meta/design.md
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,29 +2,33 @@
2
2
3
3
## Learning objectives
4
4
5
-
- Know what classes are.
6
-
- Know what encapsulation is.
7
-
- Know what fields are.
8
-
- Know how to create an object.
9
-
- Know how to update state through methods.
10
-
- Know about the `void` type.
5
+
- Know what constructors are.
6
+
- Know how to create a constructor.
7
+
- Know how to initialize a new instance of a class.
8
+
- Know how to differentiate them with normal methods.
11
9
12
10
## Out of scope
13
11
14
-
- Reference equality.
15
-
- Constructors.
16
-
- Interfaces.
17
-
- Inheritance.
18
-
- Finalizers.
19
12
- Method overloading.
13
+
- No arguments constructor.
20
14
21
15
## Concepts
22
16
23
-
-`classes`: know what classes are; know what encapsulation is; know what fields are; know how to create an object; know how to update state through methods; know about the `void` type.
17
+
-`constructors`: Know how to create `constructors` and what they are.
24
18
25
19
## Prerequisites
26
20
27
21
-`basics`: know how to define a basic class with basic methods.
28
-
-`strings`: know how to do basic string interpolation.
29
-
-`numbers`: know how to compare numbers.
30
22
-`conditionals`: know how to do conditional logic.
23
+
-`classes`: know how classes work.
24
+
25
+
## Analyzer
26
+
27
+
This exercise could benefit from the following rules in the [analyzer]:
28
+
29
+
-`actionable`: If the student used a loop in the `tryFinishTrack()` method, encourage it to explore a different approach.
30
+
31
+
If the solution does not receive any of the above feedback, it must be exemplar.
32
+
Leave a `celebratory` comment to celebrate the success!
0 commit comments