Vitalik Buterin
@vitalik.eth
"continue" might be the worst-named keyword in python. Like, consider this code: for i in range(100): if i % 5 == 0: continue print(i) It prints out numbers that are not multiples of 5. But if you give it to someone who is not experienced in python, they might think the exact opposite!
37 replies
120 recasts
662 reactions
Mrnv
@mrnv
The word "continue" can be really confusing, especially for beginners. It seems logical to expect that when continue is triggered, the code will continue executing the remaining instructions inside the loop, rather than jumping over them.
0 reply
0 recast
0 reaction