Skip to content

Instantly share code, notes, and snippets.

@kybernetyk
Created December 14, 2009 10:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kybernetyk/255966 to your computer and use it in GitHub Desktop.
Save kybernetyk/255966 to your computer and use it in GitHub Desktop.
python for fuckup:
for i in range(1, 5):
print i
bla(i)
//code (intentionally) outside of your for loop
x = x * 5;
if you fuckup your whitespace/tabs in the line with "bla(i);" (line 5)
this line will get only executed once.
[eg if line 4 is "<ws><ws>print i" and line 5 is "\tbla(i)"]
you won't get any error messages.
also you won't notice anything as you can't see
if theres 2 whitespaces or one \t.
OH HAI HEISENBUG!
this is why sane people won't use python. python is for retards.
@geomorillo
Copy link

i agree it sucks just for this, is nonsense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment