MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerDadJokes/comments/82ripu/how_long_does_a_loop_last/dvcqdov/?context=3
r/ProgrammerDadJokes • u/ScizorRed • Mar 07 '18
For a while
12 comments sorted by
View all comments
0
[deleted]
31 u/3p1k5auc3 Mar 07 '18 Shouldn't it be ++hah? Otherwise it would use the previous value of hah. Also, has it already been initialized before use? 28 u/[deleted] Mar 07 '18 edited Mar 07 '18 he forgot a semicolon too, if he isn't coding in python 30 u/endreman0 Mar 08 '18 hah++ isn't valid Python either 6 u/MadSnipr Apr 12 '18 It would be hah+=1
31
Shouldn't it be ++hah? Otherwise it would use the previous value of hah. Also, has it already been initialized before use?
28 u/[deleted] Mar 07 '18 edited Mar 07 '18 he forgot a semicolon too, if he isn't coding in python 30 u/endreman0 Mar 08 '18 hah++ isn't valid Python either 6 u/MadSnipr Apr 12 '18 It would be hah+=1
28
he forgot a semicolon too, if he isn't coding in python
30 u/endreman0 Mar 08 '18 hah++ isn't valid Python either 6 u/MadSnipr Apr 12 '18 It would be hah+=1
30
hah++ isn't valid Python either
hah++
6 u/MadSnipr Apr 12 '18 It would be hah+=1
6
It would be hah+=1
0
u/[deleted] Mar 07 '18
[deleted]