For those confused, x=x+1 just means you are changing the value of x to x+1
2024-05-09 11:54:49
631
glebvorobev7 :
It makes perfect sense in maths
X=X+1
Work out x
2x=1
X=0.5
2024-05-09 15:45:43
3
qwertyuiopzxcfgh :
why not just x++?
also, x = x + 1 would be true for x = ∞ if we're talking mathematics
2024-05-08 23:14:07
51
Phantom XIX :
hear me out (python cuz I no no wanna do another language):
x = "3"
x = x + "2"
y = "10"
y = y + x
y = "1032"
2024-05-08 05:03:36
272
Hanuszka :
alright I will do it in my mathematik way
x=x+1
x-x=1
0x≠1
here u have it
2024-05-08 15:54:06
3
Meniskus :
x++ no need to be fancy
2024-05-06 16:20:56
3235
asriel :
x=x+1
x=hello world
2024-05-09 10:17:43
95
nisu :
x+1=x
x+1-x =0
1=0
so this is completely wrong in math
2024-05-10 06:49:50
468
Akane :
For those who aren’t in programming x is most likely already defined so therefore when it says x=x+1 it means what ever the value of x was before hand is now new an example will be int x = 10 so
2024-05-08 22:54:47
48
Darth gym motivation :
x = x + 1 is used in like score counters in Python, x = x + 1 updates the x by adding 1 to the previous x
2024-06-28 20:41:11
0
your_worst_daughter8_10 :
My calculator say “Syntax Error”😭
2024-05-07 12:52:54
143
🐋 :
infinity?
2024-05-13 03:46:40
1
۞ᏉȺƝᗪᛁΘՄȘ۞ :
Need to assign a data type too though
2024-05-07 16:47:48
10
🪼 LBBH 🪽 :
what does this mean in lua
2024-06-01 05:27:15
1
cody3236 :
That's funny lol but the real life mathmatical interpretation is x(n+1) = x(n) + 1 even if that's not what you're typing in code.
2024-07-13 12:05:10
0
cthabsfan :
= is the assignment operator in most languages. You can think of it like “take whatever is on the right and stick it in whatever is on the left”.
2024-07-17 01:00:14
0
Tuna :
we should know all about programming. but we can't abandon ";" at the end of the line
2024-05-08 23:19:33
14
AshRuff Astro :
basically x(new) = x(old) + 1
2024-06-15 13:53:14
2
hooaaam :
0=1
2024-05-12 11:38:14
7
Qinxx Fr :
Laughs in c# (x++;)
2024-05-10 11:59:53
7
JoeShmoe525 :
this is why you say “x gets x plus 1” when communicating programmer stuff like this
2024-07-12 02:57:29
1
☆ :
it's the same as math just with algebra
2024-06-02 15:27:24
1
To see more videos from user @ericthecoder, please go to the Tikwm
homepage.