Terrible Variables
Also check out the Reddit comments. I like this one from there:
def dothings(var1, var2, ID=None):
if id:
dothingstothedatabaseusingid(id)
else:
raise Exception("Goddamnit, why did I code this?")
Also check out the Reddit comments. I like this one from there:
def dothings(var1, var2, ID=None):
if id:
dothingstothedatabaseusingid(id)
else:
raise Exception("Goddamnit, why did I code this?")