News for hackers. Stuff that matters.
Re:Stop writing lambda expressions in Python by theamk on Thursday September 27, 2018 @04:11PM (#18088121)
One of the python motto's is "explicit is better than implicit". Not having to pattern-parse the structures makes programs much easier to read for some people (lke me).

But the point is, even with f# syntax, most of the blog post would still apply (needless function calls, non-trivial functions, multiline-unpacking and so on)

I do not agree with some of the premises of this post, but saying that changing lambda syntax will somehow help is just not true.

Re:Stop writing lambda expressions in Python by nikofeyn on Thursday September 27, 2018 @04:57PM (#18088602)
> I do not agree with some of the premises of this post, but saying that changing lambda syntax will somehow help is just not true.

i wasn't really suggesting changing the syntax would help (although the confusion here is more semantic than syntactic). i was pointing out that in other languages, like in f#, things are much more clear than in python. the section mentioning the name thing is still not clear to me (in python) in terms of what exactly the differences are, and that was my point. that exists a lot in python.