Unified · Split
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "name": "pstack", |
| 3 | 3 | "displayName": "pstack", |
| 4 | − "version": "0.11.3", | |
| 4 | + "version": "0.11.4", | |
| 5 | 5 | "description": "if you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence.", |
| 6 | 6 | "author": { |
| 7 | 7 | "name": "Lauren Tan" |
| @@ -14,6 +14,7 @@ When debugging, do not paper over symptoms. Trace every problem to its root caus · 13 unmodified lines | ||
| 14 | 14 | - Reproduce first (if you can't reproduce it, you can't verify your fix) |
| 15 | 15 | - Ask "why" until you hit the root cause |
| 16 | 16 | - Resist the urge to add guards (adding a nil check to silence a crash is a symptom fix) |
| 17 | +- If a workaround needs a paragraph-long comment to justify it, the code is wrong (fix the code, not the comment) | |
| 17 | 18 | - Check for the pattern, not just the instance (grep for the same pattern, fix all instances) |
| 18 | 19 | - When stuck, instrument. Don't guess (add logging, read the actual error) |
| 19 | 20 | |