MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xzno47/hellnah/
r/ProgrammerHumor • u/ManagementEasy9313 • 8d ago
10 comments sorted by
9
No it's not. It's C = C + 1 and you don't know the previous value of C either, so if may as well be 69 now
3 u/rosuav 7d ago And actually it's C, after which it mutates C to be one better.
3
And actually it's C, after which it mutates C to be one better.
4
c++ is also c += 1
4 u/ANixosUser 7d ago no it isnt, c += 1 is pre-increment, c++ is post-increment. 2 u/tatstytastycakes 7d ago frick i forgot that
no it isnt, c += 1 is pre-increment, c++ is post-increment.
2 u/tatstytastycakes 7d ago frick i forgot that
2
frick i forgot that
5
And C# is literally "C++++", just with the four '+'s arranged in a 2×2 grid.
1 u/asato977424 3d ago The pluses huddle until the C gets sharp.
1
The pluses huddle until the C gets sharp.
missed an equals sign
Operator overloaded, it actually adds another C object to the list
c+=1 c=c+1 c-=-1 c=(++c)
9
u/Arkensor 8d ago
No it's not. It's C = C + 1 and you don't know the previous value of C either, so if may as well be 69 now
4
u/tatstytastycakes 8d ago
c++ is also c += 1
5
u/quietsamurai98 8d ago
And C# is literally "C++++", just with the four '+'s arranged in a 2×2 grid.
2
u/Random_-account 8d ago
missed an equals sign
1
u/SeekOfTruth 8d ago
Operator overloaded, it actually adds another C object to the list
1
u/JackNotOLantern 3d ago
c+=1
c=c+1
c-=-1
c=(++c)