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!

Mai 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), izip(Sa, Sb)))) I bet the tenses are all wrong again. [↩]

[Read more →]

Tags: lang:en · programming · python