specific instructions for what not to add in each iteration
This commit is contained in:
parent
461bc7f776
commit
75305b3ddd
@ -102,8 +102,6 @@ class Character {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Key principles:**
|
**Key principles:**
|
||||||
|
|
||||||
- **ADTs over classes** — use discriminated unions for state/variants
|
- **ADTs over classes** — use discriminated unions for state/variants
|
||||||
@ -122,12 +120,10 @@ Before writing a method or class, ask:
|
|||||||
|
|
||||||
> **The litmus test:** If you can't point to a failing property that demands this code, don't write it. Future stories will reveal what abstractions are actually needed — and they'll look different than you expect.
|
> **The litmus test:** If you can't point to a failing property that demands this code, don't write it. Future stories will reveal what abstractions are actually needed — and they'll look different than you expect.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### What to skip per story (common traps)
|
### What to skip per story (common traps)
|
||||||
|
|
||||||
| Story | Don't implement | Belongs to |
|
| Story | Don't implement | Belongs to |
|
||||||
|---|---|---|
|
| ------------ | -------------------------------- | ----------------------------- |
|
||||||
| 1 (Creation) | `isAllyOf`, `isAlive`, `isDead` | Stories 3+ |
|
| 1 (Creation) | `isAllyOf`, `isAlive`, `isDead` | Stories 3+ |
|
||||||
| 1 (Creation) | `Health.add()`, `Health.isMax()` | Stories 3/4 |
|
| 1 (Creation) | `Health.add()`, `Health.isMax()` | Stories 3/4 |
|
||||||
| 1 (Creation) | `Level.next()`, `Level.diff()` | Story 5 |
|
| 1 (Creation) | `Level.next()`, `Level.diff()` | Story 5 |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user