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
Mark V.
@mikroskeem
If Python has it wrong, then other languages have it too - that being said, it's great that Python does not diverge too much with keywords from most commonly used languages.
1 reply
0 recast
3 reactions
Vitalik Buterin
@vitalik.eth
I do think there are a bunch of little things that all major programming languages got wrong! (because they often copy from each other) My least favorite is using ^ for xor. Extreme confusion.
1 reply
0 recast
1 reaction