WeSearch

Illegal vs. Unwanted States

·6 min read · 0 reactions · 0 comments · 2 views
Illegal vs. Unwanted States

Keep Unwanted States Representable

Original article
Buttondown
Read full at Buttondown →
Opening excerpt (first ~120 words) tap to expand

April 28, 2026 Illegal vs Unwanted States Keep Unwanted States Representable An illegal state is a state we never want our system to be in. An unwanted state is a state we don't want to stay in. Many states that we wish were illegal are actually unwanted. Considering a calendaring software which stores calendar events as {user: {events: [event]}}, where each event has a start and end time. This allows one person to attend two events at the same time. We might consider this illegal and replace the data type with {user: {time: optional event}} which makes this impossible. However, a scheduling conflict isn't illegal, only unwanted! It is possible for a person to sign up for two overlapping events.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Buttondown.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Buttondown