Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short circuit logical AND/OR #36

Closed
Knetic opened this issue Nov 15, 2016 · 1 comment
Closed

Short circuit logical AND/OR #36

Knetic opened this issue Nov 15, 2016 · 1 comment
Assignees

Comments

@Knetic
Copy link
Owner

Knetic commented Nov 15, 2016

Most similar languages short-circuit logical operators such that if the left side of the expression would determine the result of the expression, then the right side is simply not evaluated. For instance; true || somethingComplicated(), this library currently evaluates somethingComplicated() even though it has no reason to - the left side will cause the whole expression to be true.

@Knetic
Copy link
Owner Author

Knetic commented May 1, 2017

Done as of d534c6b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant