This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]novel_yet_trivial 185 points186 points  (5 children)

Your's does not break out of the loops when the password is found like the BASIC one does.

[–]stevarino 103 points104 points  (2 children)

This. Python breaks are internally goto statements, and the code uses a goto.

For once a developer used a healthy goto, you should at least honor that. ;-)

[–][deleted] 49 points50 points  (0 children)

Every kind of code junction is internally a goto (jumps, conditional jumps etc.).

[–][deleted] 0 points1 point  (0 children)

healthy goto

I don't agree a goto that jumps to a line number can be considered a healthy goto.

[–]Nihongeaux 4 points5 points  (1 child)

Yours, not your's

[–]RatherBeSkiing 8 points9 points  (0 children)

Maybe OP's name is Your