Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sorry but in what universe is xor too advanced for a programmer (someone who works with computers and numbers for a living) to understand? 99% of the article is just fun trivia anyway.

If a deep dive like this scares you, then the + operator should leave you absolutely terrified, just look at the length of this article: https://en.wikipedia.org/wiki/Addition



A) don’t be rude please. B) yes. I get how it works. It’s not too advanced for me. It’s too clever. There’s a difference. In my experience something more readable and verbose would do in nearly every case I’ve ever seen someone try to use it.

It’s an opinion though so.. <shrug>


You said "it takes a giant ass white paper to explain" and that's not an opinion, that's just wrong.

And not only is + more complicated, + can cause undefined behavior very easily in C.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: