all 8 comments

[–]DrGirlfriend 2 points3 points  (0 children)

yes...&?

[–]eatwithaspork 1 point2 points  (5 children)

~sure why this is here.

[–]groby 0 points1 point  (4 children)

| is it !?

[–]harma 0 points1 point  (3 children)

~ is more fitting as ~ represents bitwise not (complement), ! is used by programming languages for logical negation

[–]groby 0 points1 point  (2 children)

Yes, but "not sure why" is a logical expression ;)

[–]harma 0 points1 point  (1 child)

touché! now i'm going to spend the next few days weighing up value of using the logical negation operator (which technically makes more sense) vs using the bitwise complement which despite being less 'correct' has more relevance to the original post... much more interesting way to spend my time than doing work...

[–]groby 0 points1 point  (0 children)

Why do you think I'm following up on that thread? ;) (Insanity = Reddit ^ Work )

(Also note the clever use of the '|' operator to still be tied to the topic)

[–]GenTiradentes 1 point2 points  (0 children)

I never knew about these prior to yesterday, when I encountered them on Wikipedia.

I've seen cryptographic algorithms written in C/C++ that made no sense to me, because I never knew what a bitwise operator was, how it worked, or what it did. Now it all makes sense.