Back to explore

Reescreva instruções if com Jev: condições em linguagem natural

Um desenvolvedor mostra como o Jev substitui expressões booleanas profundamente aninhadas por uma única frase em linguagem natural, simplificando a lógica do código.

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."

Reescreva instruções if com Jev: condições em linguagem natural 1
· 3 likesOpen on X