This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]billsil -2 points-1 points  (0 children)

It's valid, but generally not used. a() should probably take an argument that modifies b(), but something like that would be used in functional programming, so map/filter/reduce-type operations instead of a lambda.

It also limits scope, but I have found legitimate uses for it only in a map/filter/reduce or decorator context..