Commit ebf906e
Clarify mutation is allowed in high-scores (#1195)
* Clarify mutation is allowed in high-scores
Adding a test to check against mutating the list has been suggested and rejected because this is an introductory core exercise and immutability has not yet been introduced. However, all of the reasonable examples provided do not mutate the list so it is not clear to new mentors whether preserving the original list is required when deciding if they should accept a solution.
* Provided examples of solutions that mutate1 parent 6f6e3ff commit ebf906e
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
51 | 61 | | |
52 | 62 | | |
53 | 63 | | |
| |||
0 commit comments