r/ProgrammerHumor • • Jul 03 '21

Funny gate....

Post image
15.5k Upvotes

244 comments sorted by

View all comments

2.0k

u/FoundOnTheRoadDead Jul 03 '21

Seems like a logical way to design it, actually.

0

u/[deleted] Jul 03 '21

[deleted]

194

u/[deleted] Jul 03 '21

NOR

9

u/circorum Jul 03 '21

How about !a ^ !b

-1

u/fakehistorychannel Jul 03 '21

the fact that this is the same as a ^ b bothers me beyond comprehension

7

u/circorum Jul 03 '21

*a v b

De morgan's laws

(a operation b). Now negate a, b, the operation, and the parentheses' result. So basically everything.

E.g. (a v b) = !(!a ^ !b)

3

u/DuffMaaaann Jul 04 '21 edited Jul 04 '21

Depends, because in most programming languages, ^ (caret) denotes the XOR operator, not the AND operator.

The AND operator uses the ∧ (Wedge) symbol, not the caret symbol.

For XOR, a ^ b == !a ^ !b. For AND, De Morgan rules hold true of course.

→ More replies (2)

139

u/somebunnny Jul 03 '21 edited Jul 23 '21

If only it was at Bill’s house.

Have you seen Gates’ gates gate?

68

u/Mr_SunnyBones Jul 03 '21

Also , when he's paying for it ; Bill Gates Gates Gate Bill.

35

u/AmateurPoster Jul 03 '21

The scandal when the paper finds it would be the Bill Gates Gates Gate Billgate.

18

u/[deleted] Jul 03 '21

And the hush money might be Bill Gates Gates Gate Billgate bill.

7

u/Keysar_Soze Jul 04 '21

And how you walk to the bank to deposit that money would be the Bill Gates Gates Gate Billgate bill gait.

5

u/ICAA Jul 04 '21

We're getting close to r/wordavalanche territory, not that I'd like to gate keep.

0

u/[deleted] Jul 03 '21

[deleted]

10

u/wizardwes Jul 03 '21

I thought Pokemon

9

u/vancity- Jul 03 '21

ROOFIES, I CHOOSE YOU!

→ More replies (1)

16

u/vige Jul 03 '21

It would be even better if he had multiple.

14

u/deijjji303 Jul 03 '21

oh I get it..

have you seen gate's gates gates?

6

u/[deleted] Jul 03 '21

just in case you forget your key and need foot holds to climb over.

5

u/[deleted] Jul 03 '21

I know this is a joke, but those logic gates are actually making for some pretty convenient foothold for fence-hopping.

7

u/OMTIMUELKA Jul 03 '21

OR are they?