Back to explore

Viết lại câu lệnh if bằng Jev: điều kiện ngôn ngữ tự nhiên

Một nhà phát triển cho thấy Jev thay thế các biểu thức boolean lồng nhau sâu bằng một câu ngôn ngữ tự nhiên, đơn giản hóa logic mã.

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

Viết lại câu lệnh if bằng Jev: điều kiện ngôn ngữ tự nhiên 1
· 3 likesOpen on X