r/dankmemes • • Aug 25 '20

Big PP OC bruh

Post image
37.6k Upvotes

456 comments sorted by

1.7k

u/Barinski04 Member of the MEME Council👷☣️ Aug 25 '20

Uhhmm actually its: x+=1

914

u/Alze_Lemon Aug 25 '20

or x++

352

u/J-TrainTheFirst Aug 25 '20

I’m ++x; gang

227

u/[deleted] Aug 25 '20

x=-~x; gang here

219

u/d31t0 Aug 25 '20

This is some dark magic right there

→ More replies (24)

41

u/[deleted] Aug 25 '20

Nah I’m xxx gang

→ More replies (12)

39

u/KrAceZ Aug 25 '20

I'm sure you know but just an fyi for new programers that might see this: there is a difference between ++x and x++ (at least in Java)

prefix vs postfix (only mentioning it because it was something that tripped me up a few time when I was learning)

Although in this case for the meme, the result is the same lol

→ More replies (1)
→ More replies (4)

24

u/pslessard Aug 25 '20

Is this a !Python joke that I'm too Python to understand?

→ More replies (7)
→ More replies (2)

16

u/Ogi1cool Aug 25 '20

Isn't it the same

3

u/Alze_Lemon Aug 25 '20

Wdym it is the same

13

u/Krikke93 Aug 25 '20

He's saying it has the same effect. Your code will do the exact same thing, but most people use +=

11

u/theLuckyJew Aug 25 '20

I hope you stub yout toe you filthy user.

9

u/Ogi1cool Aug 25 '20

Who says i don't use +=?

3

u/WauLau Aug 25 '20

Yes, the other one is just quicker and easier to write

92

u/hellrete Team Silicon Aug 25 '20

Y=X+1

X= Y

64

u/dipstickalbatross420 I have crippling depression Aug 25 '20

for(int i = 1; i <=2;i++)

{

x = x+1;

break;

}

94

u/MindTrekker201 Eic memer Aug 25 '20

Why on gods green earth would you break a "for" loop.

→ More replies (20)

29

u/Deathpunch21 Aug 25 '20

int x;

private static int addOne(int x) {

int y;

for(;;) {

  y = x + 1;

  x = y;

  break;

}

return x;

}

x = addOne(x) ;

System.exit(0);

→ More replies (4)
→ More replies (1)

8

u/emulatorguy076 EX-NORMIE Aug 25 '20

That's wrong it's x-=-1

4

u/ArnavChalla Aug 25 '20

Studied basic java in 10th grade...

.... I always used x++, or x+=1;

I remember I didn't use x=x+1... But I can't remember the remember why. Care to refresh my memory?

8

u/[deleted] Aug 25 '20

x++ looks cooler.

→ More replies (1)
→ More replies (3)

4

u/CaiptanMimbl Aug 25 '20

It's still correct tho.

2

u/Mr_Bear123 Aug 25 '20

It could be x = x + 1 if updating a variable that already exists.

2

u/Peacemaker_47 Aug 25 '20

That's the short form.

2

u/Santiago663 Aug 25 '20

Depends on the language

7

u/soham1901 Aug 25 '20

In python right?

10

u/New_Walls Aug 25 '20

Not sure why you got downvoted for an honest question but yes in python as well as other coding languages. I’m just starting coding so I don’t know exactly which ones but I’m pretty sure C++ and Java both use the += operator.

→ More replies (7)

45

u/LateBandicoot9 ☣️ Aug 25 '20

Can anyone actually tell me a bedtime paradox please?

13

u/Alze_Lemon Aug 25 '20

"a bedtime paradox please?"

75

u/[deleted] Aug 25 '20

Imagine a doctor eating 1 apple every day.

19

u/saracinesca66 Aug 25 '20

That's an healty doctor , supporting the local economy too!

9

u/Garo263 Aug 25 '20

This sentence is wrong.

6

u/[deleted] Aug 25 '20

"I lie every time"

Am i lying? Or am i telling the truth?

→ More replies (1)

3

u/scoops22 Aug 25 '20

So ur with ur honey and yur making out wen the phone rigns. U anser it n the vioce is “wut r u doing wit my daughter?” U tell ur girl n she say “my dad is ded”. THEN WHO WAS PHONE?

11

u/LateBandicoot9 ☣️ Aug 25 '20

Her mother i guess

0

u/[deleted] Aug 25 '20

[deleted]

26

u/MadHatter69 Aug 25 '20

He'd just fucking die.

9

u/NejatMolla ùwú Aug 25 '20

He gets a boner instead

3

u/Aneyune Aug 25 '20

I don't think that would be a paradox, just an alternating feedback loop

→ More replies (1)
→ More replies (4)

130

u/ChromeSabre Navy Aug 25 '20

∞=∞+1

40

u/Alze_Lemon Aug 25 '20

Yeah but infinity minus infinity will equal 0 or infinity

43

u/brine909 Aug 25 '20

Not necessarily. Add up all whole numbers and you get infinity, now add up all whole numbers other then 1 and you get infinity again. But you know they differ by exactly 1 so in this case you get infinity - infinity = 1 . Really infinity - infinity can equal any whole number even infinity

→ More replies (19)

5

u/ChromeSabre Navy Aug 25 '20

Well yes, but actually no.

→ More replies (1)
→ More replies (5)
→ More replies (4)

27

u/[deleted] Aug 25 '20

dankn't

30

u/Alze_Lemon Aug 25 '20

this is reddit not opinion.com

18

u/[deleted] Aug 25 '20

K sorry

37

u/Alze_Lemon Aug 25 '20

wait did I just win an argument

→ More replies (2)

7

u/h12man Aug 25 '20

Lol, x is such a bad variable name. Hwru going to recognize it later when you have dozens of other variables named after the alphabet?

13

u/Alze_Lemon Aug 25 '20

Yes i ussualy name my variables despacito

→ More replies (1)

6

u/EE_Number_3 Aug 25 '20

X can actually be a good name for a variable depending on the scope. Naming a variable x can be clearer and more concise than a longer name.

In other words, global variables named x are bad, but x used in something like a single line for loop are good.

for(int descriptive_variable=0; descriptive_variable<array_length; descriptive_variable++){
    sum+=array[descriptive_variable];
}

Vs:

for(int i=0; i<array_length; i++){
    sum+=array[i];
}

5

u/h12man Aug 25 '20

Ok, in that instance, a one letter variable is better. (But you still didn't use x)

→ More replies (3)

969

u/[deleted] Aug 25 '20

X=X+1

0=X-X+1

0=1

744

u/giantfuckingfrog Aug 25 '20

Is this some math joke I'm too mathn't to understand?

186

u/yoshi2141 toshinou kyouko Aug 25 '20

We're in this together

100

u/[deleted] Aug 25 '20

[removed] — view removed comment

78

u/[deleted] Aug 25 '20

Username checks out.

→ More replies (2)

28

u/Jupiter_Explodes Aug 25 '20

0=1: that's impossible, thus 𝑥 = 𝑥+1 is impossible.

28

u/XxthecagerxX Aug 25 '20

It’s not impossible, X can be equal to positive or negative infinity. X just cannot be a real number

→ More replies (8)
→ More replies (3)
→ More replies (3)

52

u/Lululipes Aug 25 '20

X=X+1 is not true

0≠1 proves that point

11

u/[deleted] Aug 25 '20

A fellow asshole.

→ More replies (1)

26

u/SkinlessHotdog Aug 25 '20

Sure this is cool but Little Witch Academia Season 2 Is cooler

4

u/MixDerMan I want to die Aug 25 '20

AAAAAAAAA!

13

u/lola-lacy Aug 25 '20

The whole point is to get x on one side, why would you bring it over to the other side with the 1?

X=X+1

X-X=1

0=1

24

u/[deleted] Aug 25 '20

It's not "bringing it over to the other side", you're subtracting x from both sides. It actually looks like this.

X=X+1

X-X=X-X+1

0=1

"X=X+1" isn't correct when using real numbers though, so this whole thing is invalid.

→ More replies (2)

3

u/[deleted] Aug 25 '20

Hey, i made you!

3

u/[deleted] Aug 25 '20

Father? It's really you? Did you bring the butter?

→ More replies (1)
→ More replies (16)

236

u/ilikefuckingchickens Aug 25 '20

What the ding dong fuck is that

338

u/Titijaff Aug 25 '20

In mathematic, x=x+1 has no real solution. In programation, writting x=x+1 increment the value of x by 1, when doing an operation in coding (well in most of coding language I'd say, I mostly know about C/C#/C++ and I am far for being an expert anyway). In programation, writting "A=B" means "variable A value is now equal to the value of variable B", by writting x=x+1, you basically do, in this order: "I calculate the value of tha addition of the value of variable x and 1, THEN this value become the value of variable x".

In short, mathematic vision has bo solution because it see that as an equation (left must be equal to right side) and programing see the "=" as "now takes the value of"

Hope it's clear and not too BS... As said, I am far for being expert.

52

u/ilikefuckingchickens Aug 25 '20

Lol i was just saying that in the perspective of a mathematician but I actually didn’t know that it meant something in programming

19

u/theLuckyJew Aug 25 '20

That is pretty much correct.

15

u/merzak-x Aug 25 '20

Yes.

TL;DR: = in programming is usually to assign a value (B to a variable a A <- B; as in: X <- (X+1)). In some programing languages the "assignment operator" is ":=" as in PL/SQL, where the "= equal operator" is for comparison (so X = X+1 would return False). And sure you know what = means in maths.

8

u/Titijaff Aug 25 '20

I record those := for assignation yes, iirc, the comparaison operator is actually ==, at least in C and friends.

→ More replies (2)
→ More replies (3)

6

u/MrPresidentBanana Aug 25 '20

In programming, = doesn't really mean "equals", it means "set value to". So x = y would mean "set the new value of x to be the value of y", and x = x + 1 would be "set the new value of x to be the current value of x, plus 1".

→ More replies (1)

14

u/merzak-x Aug 25 '20

= can be whatever I want

•

u/KeepingDankMemesDank Hello dankness my old friend Aug 25 '20
> be me
> stupid mod bot
> comment on every post
> fkin useless
> someone comments they want to give another upvote because the meme is so good
> oh_shit_thats_my_job.png
> "Upvote this comment if this is a dank meme! Downvote this comment if this is not a dank meme!"
> i am hapy

4

u/BiggityWapBap ☣️ Aug 25 '20

How cute

21

u/[deleted] Aug 25 '20

"this... Sentence... Is... False" "Don't think about it, don't think I about it, don't think about it"

Honeslty I thought about this and my brain hurt... Am I a robot? Am I Wheatley?

4

u/[deleted] Aug 25 '20

damn i forgot that whole part of the story. what an amazing game

4

u/awesomelatt56 Aug 25 '20

uhhh true. i’ll go with true. probably heard that one before though

2

u/[deleted] Aug 25 '20

Is the answer to this question no?

4

u/[deleted] Aug 25 '20 edited Aug 25 '20

If the sentence “This sentence is false” is false, then it must be true, however if “This sentence is false” is true, then it is false. There is no simple answer. It’s a paradoxical statement.

The problem primarily comes from the issue of self reference. It is very difficult to have a logical system (speaking vaguely) that can directly reference itself without running into these sorts of issues.

The crazy thing is - indirect self reference is pretty much impossible to avoid if you want to do anything useful. Gödel’s incompleteness theorems are a classic example.

Even number theory, which on the face of it obviously isn’t self referential, can be made to be. The trick is in changing the interpretation of the symbols. You code statements as being certain numbers, and through building this up can turn statements about numbers into statements about number theory.

The consequence is that you can write a perfectly innocent statement in number theory which can alternatively be read as (sort of) “This statement cannot be proven logically”.

Either the statement is false (which you’d think would be impossible, but non-standard arithmetic disagrees) or the statement is true. This means that in standard number theory there are true statements which one can never prove to be true.

4

u/Der_Bonehead Aug 25 '20

Hurts to do math when it's in an unending nightmare

4

u/PlsImNotGae Aug 25 '20

Look at all the smart people here discussing their Xs, and my dumb ass is just like bruh

4

u/De_Viktoire Aug 25 '20

That's not really a paradox? It's just untrue

4

u/Sykozis Aug 25 '20

Amateur mathematician here. You can make this interesting by going outside of the real numbers. I'm thinking specifically of equivalence classes. When X is for example, any element of the set of all sets such that every element is equivalent mod 1, you get a set where each element is a set containing all numbers that have equivalent mantissas (the numbers after the decimal point). So you would have a set something like this: {..., [..., -1, 0, 1, ...], [...-1.1, 0.1, 1.1], ...}. And you can define addition to mean the equivalence class derived from adding b to any element from a. That would mean if you have the equivalence class {..., -1, 0, 1, ...} and you add 0.5, you would get {..., -0.5, 0.5, 1.5, ...}. Then when you pose the equation X = X +1, you get the solution of all equivalence classes of this form since adding 1 produces the same equivalence class.

1

u/Bird_0 Aug 26 '20

Sorry I'm retarded, please explain.

2

u/Alze_Lemon Aug 26 '20

Happy cake day, also sort by top and the third comment is an explanation

3

u/urixl Aug 25 '20

x:=x+1

Problem solved.

→ More replies (1)

3

u/FPVogel Aug 25 '20

x++ is the real shit

2

u/Redpri Aug 25 '20

X = NaN or X = infinity

→ More replies (2)

2

u/Caurser Aug 25 '20

Where'd you dig up this old gem, I miss this template.

2

u/Semilogo the very best, like no one ever was. Aug 25 '20

Programmers who use a language that needs semicolons look more like the mathematicians

2

u/_Lucas__vdb__ Aug 25 '20

Lucas.exe has stopped working

2

u/Ganda1fderBlaue Aug 25 '20

It's not a paradox though, it's just mathematically false

2

u/dtrippsb I am fucking hilarious Aug 25 '20

Or you can disappoint the programmers:

x - 1 = x

2

u/[deleted] Aug 25 '20

As a mathematician I can see at least a dozen of situations where this equation would be true.

→ More replies (1)

2

u/TheNotTooDarkLord Aug 25 '20

X = 0 and your domain is Z_1 checkmate atheists

2

u/treederpah Aug 26 '20

WHERE IS THE SEMICOLEN

2

u/bob74927573910 Aug 25 '20

x == x+1

5

u/JJustRex Aug 25 '20

Syntax Error: no

1

u/sj20442 Aug 25 '20

x = x + 1

x - x = 1

0 = 1

1

u/Arctic-Penguin23 Aug 25 '20

I hate you so much

1

u/franky_63 Aug 25 '20

X= infinity

1

u/Xistence16 Aug 25 '20

I mean it works if x = infinity

1

u/SrapNel Aug 25 '20

Ayy I finally understand something in Math!

1

u/DunxDaKing Aug 25 '20

X=infinite

1

u/ForestValkyrie Aug 25 '20

But what if x=∞? Wouldn’t ∞+1 still be infinity? Or am I an idiot?

→ More replies (3)

1

u/Mr_Good_Taste Aug 25 '20

A "mathematician" would say it's unsolvable.

2

u/Sykozis Aug 25 '20

A mathematician would say that the equation makes sense in a wide variety of contexts, just not for real numbers. It has an easy solution when talking about equivalence classes for instance: Post. Pretty interesting stuff haha

1

u/[deleted] Aug 25 '20

The programming style is like shortcut of f(x) = x + 1

1

u/m1chael_b Bruh Moment | Crusader Squad Aug 25 '20

X=infinity

1

u/rotciv0 I will trade sex 4 memes Aug 25 '20

x=inifinity.

1

u/touch_master Aug 25 '20

Being a math and computer nerd, this herts me on many levels.

1

u/Unbreakable_64 Aug 25 '20

0 = 1 is the answer, right?

1

u/[deleted] Aug 25 '20

To solve, just square both sides. x2 + 2x + 1 = x2. Then, subtract x2, so 2x + 1 = 0. Now, x = -1/2.

→ More replies (1)

1

u/[deleted] Aug 25 '20

i legitimately did the math and i kept getting infinite solutions, so apparently x= ∞ but that doesn’t make logical sense either. is there someone who can verify me cause i won’t sleep until i figure this out

2

u/Moartem Aug 26 '20

Look up projective geometry, there it makes sense (two lines intersect at infinity)

→ More replies (1)

1

u/[deleted] Aug 25 '20

1

u/FinnBoland Aug 25 '20

X equals infinity

1

u/Plasma294 Aug 25 '20

X=infinite

1

u/[deleted] Aug 25 '20

X=0,9999... 10x=9.9999... 9x= 10x-9x= 9.9999...-0.9999...=9 X-X= 1 - 0.9999... 1 - 0.9999... =b X°∞ - X°∞ = b°∞ X-X = 1 X = X +1

1

u/hiphophoo Aug 25 '20

...I am both and I don’t know how to feel about this

1

u/[deleted] Aug 25 '20

do { x++ break; } while (1);

1

u/[deleted] Aug 25 '20

Laughs in inc(iNum)

1

u/georgieboat Aug 25 '20

i dont get it

1

u/Not-a-master69 Aug 25 '20

Did you know? Idk how to use the % operator

1

u/MattLikesMemes123 ☣️ Aug 25 '20

It makes sence when you replace the "1" with a "0"

1

u/syfiarcade Aug 25 '20

I'm a programer so I got confused like "nothing wrong with that"

1

u/XxthecagerxX Aug 25 '20

X = +- infinity

1

u/[deleted] Aug 25 '20

what happens if you're both

1

u/[deleted] Aug 25 '20

I didn't get it then I did the Algebra and went "Oh, I see" as a shudder went down my spine.

1

u/Toucann_Froot Aug 25 '20

Yee, I'm a C# guy cuz I wanna get good at it to work with unity

1

u/BeatMyMeatBoi Aug 25 '20

y=x y++ x=y

1

u/Ener_blaNk____-10 Aug 25 '20

Answer is infinity Given by the Indian mathematician ramanujan I suppose and I am not using emojis XD

1

u/[deleted] Aug 25 '20

That would make a callback error, as the second X is still a variable. I code mainly in C# and Python, but for all the languages I’ve seen, it’s X+=1 to increase the value, of the variable

1

u/[deleted] Aug 25 '20

I'm too stupid to understand this meme

1

u/Useless_Iron Aug 25 '20

Ha. Idiots. The awnser is obviously SYNTAX ERROR

1

u/AlexanderTGHN [custom flair] Aug 25 '20

X = infinity

1

u/zerocreativity420 Insert Your Own Aug 25 '20

Learning programming this year and man I'm just happy that I understood the meme :D

1

u/Tarto_poopie_69 Aug 25 '20

Dankmemes is just turning into memes by the day. This isn't dank at all, this is just some dumb normal meme that is actually clever.

1

u/Shyb_oy Aug 25 '20

X = inf

X + 1 = X

1

u/[deleted] Aug 25 '20

I might be retarded but wouldn't x=x+1 still just be x because 1x is just x

1

u/Salak_Youtube Aug 25 '20

e ^x/(e^(2x)+2e^x+1) y'(x)=y(x)+x+xy(x)+1, y(0)=1

1

u/[deleted] Aug 25 '20

x = 1

x ≠ x false

x = x false

bruh...

1

u/McDaddymmm Aug 25 '20

Bruh who messed up the portal awards

1

u/[deleted] Aug 25 '20

This is my first time seeing a portal award.. looks radical.

1

u/Bwomsamdidjango Aug 25 '20

Me a simple factory worker; 0.0

1

u/Lalendra Aug 25 '20

Kid :- tell me a Bed time paradox Dad:- you are not XY you are XXY Biologist (Kid):- screams in terror

1

u/jemangerrit Aug 25 '20

Well yes but actually no. There is a mathematic field that uses these sorts of formulas. Usually it is written as U(X+1)=U(X)+1. So every time you reitterate the formula it ads 1. So exactly like the programmable version. The Mandelbrot set is based on such a formula.

Highschool matheticians would be confused, actual mathematicians would tell you that youre sloppy and you should write that the X on the left has been reitterated one more time (information that a computer would remember for you)

1

u/majkong190 Aug 25 '20

One thing you have to remember is that in programming language; X = X+1 is not an equation; it's an instruction.

1

u/UltraSolution Aug 25 '20

i love variables

1

u/StalinsMorningMemes Aug 25 '20

Is this a joke I’m not programming enough to understand?

1

u/Nico_OwO Aug 25 '20

As an asian, this causes me physical pain

1

u/Prenn24 Aug 25 '20

Sorry, I’m dumb and don’t understand. Please explan

1

u/litefoot Aug 25 '20

It’s the equation for how many motorcycles you need, where X is the number of motorcycles you currently own.

1

u/liriodendron1 Aug 25 '20

The further down i go in these comment threads the more black magic fuckery i see. I have no idea how you programmers do what you do but it scares me a little.

1

u/normiememes7667 Aug 25 '20

Because you can’t have 1=1+1 or literally replace X with any number and that won’t be true.

1

u/imveganow Aug 25 '20

x=infinity

1

u/[deleted] Aug 25 '20

Physicists: "X is 1 but you forgot the 1/2 coefficient on the right side of the equation."

1

u/Z4CH4RYRGD Aug 25 '20

I am loving these programmer memes lately

1

u/DevaPath_Winchester Aug 25 '20

Filthy high programming peasants. Machine language gang wya.

1 x +

1

u/Vince6820 Aug 25 '20

Ok time to break math X=X+1 X/0=(X+1)/0 Multiply both sides by 0 Since anything times0 is 0 both sides = 0

1

u/vladphoenix2 ☣️ Aug 25 '20

Ok boomer

1

u/DarthHead43 Too dank for school Aug 25 '20

It would probably = 1 or NAN

1

u/0ki7o Aug 25 '20

What if x is infinite? 1+∞ is still ∞.

1

u/[deleted] Aug 25 '20

x= x +1 |-x

0=x

wrong

1

u/Barkies5R3 Aug 25 '20

Now I feel smart bacause I've got that bigg pp IT

1

u/XTheDarkLord15X Aug 25 '20

As someone who is very smart in math I can say that this is very true and I am having a stroke rn

1

u/AJSax64 Aug 25 '20

Wait, mathematicians would be fine with this.

1

u/maxwell-05 Aug 25 '20

X= infinity

1

u/jimmythedog5 Aug 25 '20

Let x=infinity

Infinity=infinity+1 x=x+1

1

u/Tanto_Goldstein Aug 25 '20

Well, if you divide by x on both side it become 1=1+1/x, meaning if x=0, then 1=1

1

u/[deleted] Aug 25 '20

So what. Its infinity plus 1.

1

u/Damascus0426 Aug 25 '20

syntax error

1

u/[deleted] Aug 25 '20

I mean if you put it in terms of y=mx+b

You can graph it and it creates two sloped lines that never intersect, meaning there is no solution, this is true with any equation that creates a graph with parallel lines

1

u/MardinHarun47 Aug 25 '20

I'm in 8th grade and my brain is exploding becouse of these x,y,a stuff

1

u/Kacbor Aug 25 '20

haha x=x+1 -> x+1=x -> x=1 go brrrr

1

u/[deleted] Aug 25 '20

Can someone please explain this to me

1

u/Mosesmw9Reddit Aug 25 '20

Surely x is infinity then? Correct me if I’m wrong but the only number that is the same as itself plus one is infinity

1

u/BubbaBasher Aug 25 '20

What if x is Infinity?

1

u/kaizlende Dank Cat Commander Aug 25 '20

X = ∞ because ∞ + 1 = ∞

1

u/Ynvisibl I am fucking hilarious Aug 25 '20

Haskell programmers: demonic screeching

1

u/B-oT-w-GoD Aug 25 '20

Not the right format bro

1

u/CillverB Aug 25 '20

X is the number of people who get this meme. With me its X+1.

1

u/UslashUslashUser Dank Royalty Aug 25 '20

0=0+1 1=2+1 2=3+1 im not continuing this