Hacker News new | ask | show | jobs
by fcarraldo 32 days ago
If something were to be true, then foo.

Or if this other thing were to be true, then bar.

If it’s something else, then baz.

1 comments

OR if is ambiguous, and wouldn't work like an 'else if' statement. I think you mean XOR.