← Graph

Raise in production rather than silently continue

takeaway 2 connections

Counter-intuitive lesson from Joel Drapper: leave runtime type checking on in production. A raised exception with a clear message (what it got, what was expected) is better than quietly deleting 4,000–10,000 support tickets because nil was interpolated into a query. At Clear Scope, enabling Literal in production actually *reduced* the observed production error rate, because errors surfaced during development and tests.

type
recommendation
takeaway Raise in production rather than silently continue
about
Literal tool
Raising is Literal's default and was kept on in production at Clear Scope.
takeaway Raise in production rather than silently continue
from_talk
Lesson drawn from the Shopify/Zendesk incident and Clear Scope's deployment.

Provenance