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

> In most programming languages, AND will short circuit. OR requires both operands to be evaluated.

Can you name any widely-used programming language(s) that has a short-circuit AND that returns on the first non-true result but not a short-circuit OR that returns on the first non-false result?




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

Search: