Hacker News new | ask | show | jobs
by thetic 3245 days ago
This one tripped me up too. I'm guessing he meant `a |= b`.
1 comments

Of course he meant that. My point was that `if !a && b { a = true; }` is a silly way to write `a = a || b;`