4 ms·I'm surprised the author didn't write a shorter C example: return price > 100 ? 10 : 5;by sheetjs 13y agoI'm surprised the author didn't write a shorter C example: return price > 100 ? 10 : 5;pmiller2 13y agoThat produces a different AST than the if/else because it's an expression. :)goldenkey 13y agoEvery LISP statement is an expression too. So if you were trying to match them, you'd use the ternary.