Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by fcarraldo

3 hours 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 comment

fcarraldo

Reply

hekkle  2 hours ago

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities