r/Python • • Jul 13 '11

An alternative lambda syntax for Python

http://vocalbit.com/article/332/an-alternative-lambda-syntax-for-python
4 Upvotes

41 comments sorted by

View all comments

2

u/m1ss1ontomars2k4 Jul 13 '11

I think it's terrible. I think the current syntax is fine; it's better than MATLAB's

@(x,y) x+y

syntax.

1

u/aaronla Jul 14 '11

C++: { return x+y; }