Skip to content
Made with Jev

Guide · x.com

Rewrite if-statements with Jev

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

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." Judgment Mode, live now.

Sep 23, 2026 · 4 likesOpen on X

Open the source

More like this