News for hackers. Stuff that matters.
Re:Practical Common Lisp (2005) by zelphirkalt on Saturday January 08, 2022 @12:35PM (#29853938)
Python will probably forever remain stunted for its bad lambda syntax, allowing only 1 statement in it. It is not a deal breaker, but annoying to make named things out of anonymous things. Then there is the issue of no TCO. At least JS has that in the spec, even though almost no one implemented it.
Re:Practical Common Lisp (2005) by HerrMonnezza on Saturday January 08, 2022 @04:10PM (#29856309)
The Python package lambdex [1] provides a way to write multi-line anonymous functions in Python, with a syntax that's close enough to the "normal" Python.

[1]: https://pythonrepo.com/repo/hsfzxjy-lambdex

Re:Practical Common Lisp (2005) by zelphirkalt on Saturday January 08, 2022 @06:08PM (#29857562)
Interesting. This looks weird though, because now there is `def_` (not `def`) and `lambda`, instead of only needing `lambda` or only `def`. I am guessing you would also need to `def_` from somewhere. And you need to change a lot of parens inside to brackets, making it even more unnatural in Python sense.