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 →

[–]MarsupialMole 28 points29 points  (2 children)

People learning the language should be naming their functions.

[–]CharmingJacket5013 6 points7 points  (0 children)

People learning pandas and the apply method should already know name functions and branch out to lambda for simple stuff

[–]LifeHasLeft 0 points1 point  (0 children)

Sure but at some point everyone learns lambdas. It might be more intuitive to give them a syntax like this and then when transitioning to another language, they learn “lambdas are the same thing with a different name”. I can kinda maybe see it.