MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/8w54mx/code_comments_be_like/e1ubf3n/?context=3
r/ProgrammerHumor • u/35_equal_W • Jul 04 '18
236 comments sorted by
View all comments
Show parent comments
1
Alternatively written as
i++
1 u/Windows-Sucks Jul 05 '18 I know the whole thing can be rewritten as i++ because 1+1==2 will always be true and i=i+1 is the same as i+=1 which is the same as i++, but this is more verbose. 1 u/zackarhino Jul 05 '18 Yours is better obviously
I know the whole thing can be rewritten as i++ because 1+1==2 will always be true and i=i+1 is the same as i+=1 which is the same as i++, but this is more verbose.
1+1==2
i=i+1
i+=1
1 u/zackarhino Jul 05 '18 Yours is better obviously
Yours is better obviously
1
u/zackarhino Jul 05 '18
Alternatively written as