Vibecoding: an example beats an adjective
One example input and output fits two rules; a second example drops one. Why an agent follows an example better than the word bigger. Vibecoding from zero, Prompting.
How many rules still fit
- An adjective: many rules fit
- One example: two rules fit
- Two examples: one rule fits
| Input | Wanted | Rule A: x + 3 | Rule B: x * 3 + 1 |
|---|---|---|---|
| 1 | 4 | 4 | 4 |
| 2 | 5 | 5 | 7 |
| 5 | 8 | 8 | 16 |
Row 1 does not tell A from B. Row 2 does: B gives 7, not the wanted 5.