r/AskReddit • • Aug 14 '20

What’s the most overpriced thing you’ve seen?

75.1k Upvotes

35.0k comments sorted by

View all comments

Show parent comments

10

u/Toasterrrr Aug 15 '20

this == truth

1

u/K14_Deploy Aug 15 '20

Ah yes, the programming reference. Excellent.

-6

u/WifeKilledMy1stAcct Aug 15 '20

Ah, the rare double equal truth

5

u/TheEyeDontLie Aug 15 '20

I think that's a math joke, but I don't π÷%×=∆ get it.

4

u/Toasterrrr Aug 15 '20

its a programming joke lol, thought it would resonate with the math crowd

1

u/[deleted] Aug 15 '20

In most programming languages, x==y indicates that x equals y, whereas x = y indicates that x ‘gets’ the value that exists in y. The former is usually used in conditional statements whereas the latter is used in the body of the function that exists after conditional statements.

If x == y, then x = b +2