Simon Willison’s Weblog

Subscribe

Friday, 7th May 2004

Switch statements in Python

Python doesn’t support a native switch statement. I’ve found myself using the following coding idiom instead recently which seems to work pretty well:

[... 114 words]

What makes a geek?

Meri has a great post up entitled Because We Are Geeks, which highlights the differences between geeks and the rest of the world and asks if geeks are really suited to designing and marketing products for non-geeks.

[... 148 words]

Don’t make me lie to you

So what’s the deal with this?

[... 194 words]

2004 » May

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930
31