How AI evolved from rigid if/then rules to adaptive learning — and how Light Code bridges the gap.
Both systems match a pattern to produce a response. Light Code didn't invent new thinking. It added one line at the end that GOFAI never had.
GOFAI's problem was never the if/then. The problem was that each rule had no confidence score and no mechanism to update. Light Code keeps the if/then — cheap, explainable, runs on an ESP32 — and adds the one missing piece: a weight per concept that LEARN adjusts from outcomes. No neural net. No matrix multiplication. GOFAI + weights + one update step per cycle.
| Property | GOFAI | Deep Learning | Light Code |
|---|---|---|---|
| Rules | Hand-written | Learned (opaque) | Weighted concepts (transparent) |
| Adaptation | None | Requires retraining | Each cycle (online) |
| Data needed | Expert knowledge | Millions of examples | Single outcome |
| Explainable | Full ✓ | Black box ✗ | Full ✓ |
| Compute | Tiny ✓ | GPU cluster ✗ | On-device (ESP32/Pi) ✓ |
| Unknowns | Silence ✗ | Generalises | Nearest concept distance |
| Memory grows | Yes — forever ✗ | Yes — forever ✗ | No — 64 bytes fixed ✓ |