CalibratedDecisions.

Guide · Guides & docs

Rewrite if-statements with Jev

Ricky Grannis-Vu on replacing deeply nested boolean expressions with one natural-language sentence for Jev to decide.

Open x.com ↗
Ricky Grannis-Vu @RickyGrannisVu

We rewrote the oldest primitive in programming. The if statement takes a sentence now, and Jev decides.

That nested boolean mess eleven rules deep, four AND/ORs, one comment nobody understands anymore? Replace all of it with "if this expense is allowed under the expense policy."

Image from the post

The decision Jev makes

Where to start: the quickstart, the decision primitives and the patterns.

Where it fits

The official starting points plus the best explainers, videos and articles about Jev and RLCD. All 342 guides & docs projects →

Related projects