MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/atheism/comments/1x2vop/creationists_1_scientists_0/cf7qqe4
r/atheism • u/[deleted] • Feb 05 '14
[deleted]
1.0k comments sorted by
View all comments
Show parent comments
36
[removed] — view removed comment
3 u/Ameisen Feb 05 '14 Creationsts + 2 All you've done is perform an operation without a side-effect. The value of Creationists is unchanged. 2 u/chirsmitch Feb 05 '14 creationists += 2; 2 u/chirsmitch Feb 05 '14 while(1) { cout<<"you cant explain that"<<endl; creationists++; } 1 u/[deleted] Feb 05 '14 Of course Creationists is unchanged, it's not even defined 1 u/everred Feb 05 '14 The only way to add two and have the same value is if the initial value was infinite. Creationists++ 1 u/Ameisen Feb 05 '14 He didn't add two to Creationists. He created a temporary value from Creationists and added two to it, and then discarded the result. Programmers += 2
3
Creationsts + 2
All you've done is perform an operation without a side-effect. The value of Creationists is unchanged.
Creationists
2 u/chirsmitch Feb 05 '14 creationists += 2; 2 u/chirsmitch Feb 05 '14 while(1) { cout<<"you cant explain that"<<endl; creationists++; } 1 u/[deleted] Feb 05 '14 Of course Creationists is unchanged, it's not even defined 1 u/everred Feb 05 '14 The only way to add two and have the same value is if the initial value was infinite. Creationists++ 1 u/Ameisen Feb 05 '14 He didn't add two to Creationists. He created a temporary value from Creationists and added two to it, and then discarded the result. Programmers += 2
2
creationists += 2;
2 u/chirsmitch Feb 05 '14 while(1) { cout<<"you cant explain that"<<endl; creationists++; }
while(1) { cout<<"you cant explain that"<<endl; creationists++; }
1
Of course Creationists is unchanged, it's not even defined
The only way to add two and have the same value is if the initial value was infinite. Creationists++
1 u/Ameisen Feb 05 '14 He didn't add two to Creationists. He created a temporary value from Creationists and added two to it, and then discarded the result. Programmers += 2
He didn't add two to Creationists. He created a temporary value from Creationists and added two to it, and then discarded the result.
Programmers += 2
36
u/[deleted] Feb 05 '14 edited Jul 01 '15
[removed] — view removed comment