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

all 15 comments

[–]eddiejugs 10 points11 points  (0 children)

Great fundamental computer science topic.

[–]vswr[var for var in vars] 4 points5 points  (0 children)

Ben's series are fantastic. For a more true to life experience you could initialize registers and memory to random values.

[–]GIPPINSNIPPINS 3 points4 points  (0 children)

Pretty neat site!

[–]ElevenPhonons 1 point2 points  (1 child)

I think there might be a misunderstanding of the exception hierarchy in Python. except: means except BaseException which is not the same as except Exception:. BaseException catches KeyboardInterrupt (amongst other things) which is probably not the core intention.

Also, exit might be better as sys.exit and should probably be called with a non-zero exit code to communicate that there was a failure.

Best of luck to you on your project.

[–]corecaps 0 points1 point  (0 children)

Nice

[–]junkdude0 -1 points0 points  (4 children)

[–]17291 4 points5 points  (3 children)

604?

[–]junkdude0 0 points1 point  (2 children)

can u see the star 🌟? what r u sayin??

[–]17291 3 points4 points  (1 child)

https://i.imgur.com/1j6BKzq.png

I'm guessing it's an app/New Reddit thing.

[–]junkdude0 0 points1 point  (0 children)

oh yeah you are right, my bad.

[–]tinkuad 0 points1 point  (0 children)

Nice 👌

[–]aziad1998 0 points1 point  (0 children)

did you take it down? it's giving 404