Hacker News .hn
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mac1175
on July 2, 2014
|
parent
|
context
|
favorite
| on:
Making code better with code reviews
Why not good ol' De Morgan's laws?
return !(raw[2]&(QR|AA|TC) == 0 && raw[3]&(Z|RCODE) == 0 )
rpsw
on July 2, 2014
[–]
The code probably goes on to to do additional checks.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
return !(raw[2]&(QR|AA|TC) == 0 && raw[3]&(Z|RCODE) == 0 )