News for hackers. Stuff that matters.
Re:Pointfree style in Python by llimllib on Monday November 14, 2011 @10:45AM (#3234371)
It's a super neat hack; but if you use it in production you're completely crazy. I think it's intended that way.
Re:Pointfree style in Python by tome on Monday November 14, 2011 @10:53AM (#3234415)
Why is it crazy to use it in production?

There's going to be a lot of overhead with this kind of thing, but did you have another reason?

Re:Pointfree style in Python by llimllib on Monday November 14, 2011 @10:58AM (#3234444)
The simple answer is, go look at @partial's __call__: https://github.com/markshroyer/pointfree/blob/master/pointfr...

All that code is executing on every partial call. So, a very brief list of reasons not to use this in production:

1. overhead

2. complexity

3. debugging

4. don't fight the language

edited to add: I just want to emphasize that I think it's a really, really neat hack!

Re:Pointfree style in Python by mattdeboard on Monday November 14, 2011 @10:58AM (#3234446)
Because it deviates entirely from Python's semantics.

edit: In other words, "Don't fight the language" as another commenter said.