This is a read-only archive!

Python

Every time I have to debug, read, or acknowledge the existence of someone's Python code, I want to punch myself in the face repeatedly until I lose consciousness.

June 21, 2007 @ 1:26 AM PDT
Cateogory: Programming

7 Comments

tante
Quoth tante on June 21, 2007 @ 1:56 AM PDT
def help_brian():
    print("Everything's gonna be alright.")

if __name__=="__main__":
    help_brian()

:)

tante
Quoth tante on June 21, 2007 @ 1:58 AM PDT

crappit, the <code> thingy is messed up. so let's go the ascii art approach ;)

#!/usr/bin/env python

def help_brian():
print("Everything's gonna be alright")

if __name__=="__main__":
help_brian()

Let's hope this one works better ;)

Brian
Quoth Brian on June 21, 2007 @ 1:59 AM PDT

Clearly my blog hates python code as much as I do.

numerodix
Quoth numerodix on June 21, 2007 @ 2:21 AM PDT

cough ruby zealot cough

Brian
Quoth Brian on June 21, 2007 @ 3:20 AM PDT

Hey look, I syntax-highlighted the Python code and made it pretty. That's not zealotry.

Ciaran McCreesh
Quoth Ciaran McCreesh on June 21, 2007 @ 4:37 AM PDT

That's strange. I want to punch the person who wrote it in the face repeatedly.

Brian
Quoth Brian on June 21, 2007 @ 4:42 AM PDT

He doesn't work at my company any more. :(