Commit a952106
Wizards and warriors: more generic param names for #damagePoints (exercism#2308)
Within the context of the exercise, using explicit names for the Fighter params to #damagePoints is correct, but it seems overly specific given the topic being introduced is inheritance and only knowing the argument is of type Fighter is sufficient.
Co-authored-by: Sander Ploegsma <sanderploegsma@gmail.com>1 parent e06ba5c commit a952106
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments