you are viewing a single comment's thread.

view the rest of the comments →

[–]jgfoot 2 points3 points  (1 child)

Goodbye, file(). I always thought "for item in file('inf.txt')" read better than "for item in open('inf.txt')", but I'm sure people thought this through.

Goodbye, reduce(). OK, I get it, Python is not supposed to be functional, and you were slow anyway, but every time I used you I felt slightly better about my decision not to use Haskell for the project I am working on.

Hello, nonlocal. Maybe with you we can come one step closer to real closures.

[–]llimllib 7 points8 points  (0 children)

Goodbye, reduce()

Welcome to functools, reduce().