I See Dead Code

… as sounding brass, or a tinkling cymbal.

I See Dead Code header image 4

Look at me, I know Functional Programming!

May 5th, 2008 · 1 Comment

Sometimes I wonder what the hell I might have been thinking while writing code like this1 :

1
2
3
4
5
6
7
def uncurry(f):
return lambda t: f(*t)
 
def longest_common_prefix(Sa, Sb):
return len(list(
takewhile(uncurry(eq),
[...]

[Read more →]

Tags: lang:en · programming · python