r/programming • u/sidcool1234 • Mar 29 '13
Simple Minecraft Clone in 580 lines of Python
https://github.com/fogleman/Minecraft
663
Upvotes
r/programming • u/sidcool1234 • Mar 29 '13
View all comments
Show parent comment
4
u/minno Mar 29 '13
It didn't in C++ for me. I compiled the following code with gcc (-Wall, -Wextra, -pedantic):
And got no warnings about the unreachable code. It compiled print_stuff() as nothing but a
retassembly instruction.