Back to explore

Jevでif文を書き換え:自然言語による条件判断

開発者が、深くネストされたブール式を自然言語の一文に置き換えてコードロジックを簡素化する方法を示しています。

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

Jevでif文を書き換え:自然言語による条件判断 1
· 3 likesOpen on X