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

What's the problem with ternaries?



One of the two possible sub-expressions isn't used.


It's also not evaluated. There is no discarding, so there would be no problem.




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

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

Search: