Created
March 8, 2011 23:10
-
-
Save evgenidb/861321 to your computer and use it in GitHub Desktop.
fmi.py-bg.net - bad coding 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Example 3: | |
#Wrong way | |
if True: | |
print("Hello, ") | |
print("World!") | |
else: | |
print("Bye, ") | |
print("World!") | |
#Correct way: | |
if True: | |
print("Hello, ") | |
print("World!") | |
else: | |
print("Bye, ") | |
print("World!") | |
#Reason: Hard to read and confusing AND abso-fucking-lutely ANNOYING! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment