DEV Community

Serguey Asael Shinder
Serguey Asael Shinder

Posted on

State Is Where Bugs Live

Most bugs aren't in the logic.
They're in the state.

What's stored. What's stale.
What changed when you weren't looking.

A function with no memory
is easy to trust.

One that mutates the world
is a mystery waiting to happen.

The less it remembers,
the less it can break.

– Serguey Asael Shinder

Top comments (0)