Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

|| and && operators in C-like languages are "short-circuited", i.e. (true || predicate) just returns (true) without evaluating (predicate). This is a form of lazy evaluation.


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

Search: