HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by thetic | Hacker News Reader
Parent
Full thread
thetic
·
This one tripped me up too. I'm guessing he meant `a |= b`.
View on HN
Arnavion
·
Of course he meant that. My point was that `if !a && b { a = true; }` is a silly way to write `a = a || b;`
Reply on news.ycombinator.com