Re: Replacing the "if" statement with an "if" expression which supersedes it
"'Calimero' via lua-l" <[email protected]> Sat, 27 Jun 2026 17:01:59 +0200
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
Le 27/06/2026 à 16:36, Andrey Dobrovolsky a écrit : > Btw Pluto already has both ternary operator and if-expressions, > https://pluto-lang.org/docs/New%20Features/Ternary%20Expressions > > -- Andrew That's great! Apparently the idea I'm pushing is not new at all. All the better! On a tangent: Speaking of having more syntax for no particular reason (a ternary conditional operator for example), I think John Backus in his Turing Award paper put it better than I ever could: >Conventional programming languages are growing ever more enormous, but not stronger. Inherent defects at the most basic level cause them to be both fat and weak. They're primitive, word-at-a-time style of programming, inherited from their ancestor, the Von Neumann computer. He was advocating for more attention to "whole images", meaning referentially transparent expressions that assemble to a value. -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/26722438-729f-ae05-8a4e-bbcbfb1758fe%40free.fr.