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!
48 replies
123 recasts
576 reactions
Tempe Techie
@tempetechie.eth
What would be better? "skip", "ignore", "next"?
1 reply
0 recast
2 reactions
Lukas Marquardt
@lksmrqrdt
Of all these options, I think skip would be the best one. Next is already taken for iterators, ignore on the other hand could be misinterpreted in other situations.
0 reply
0 recast
1 reaction