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!
44 replies
114 recasts
577 reactions
Fots
@fots
i believe it is natural, because it intuitively means to continue the loop - just skipping the rest of the current iteration. once you understand that the loop itself keeps running, the keyword makes perfect sense
0 reply
0 recast
1 reaction