Hacker News new | past | comments | ask | show | jobs | submit login

That produces a different AST than the if/else because it's an expression. :)



Every LISP statement is an expression too. So if you were trying to match them, you'd use the ternary.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: