13 Comments

This was just fantastic as usual, thanks stephen!

Expand full comment
author

Thanks Zan!

Expand full comment

Excellent as usual! Just for the sake of fun, you definitely *can* program *anything* using just lambdas. They're Turing-complete! Now, whether you should...

Expand full comment
author

Ah yes, maybe we should do a fun post of how to abuse `lambda` functions and guarantee zero-readability!

Expand full comment

@jjdev would love it for sure

Expand full comment

What a great post. Thanks for this 👍. Just the facts.

Expand full comment
author

Thanks James. It’s often glamourised too much!

Expand full comment
Dec 1, 2023Liked by Stephen Gruppetta

Excellent post. Congrats

Expand full comment
author

Thank you Carlos

Expand full comment
Dec 1, 2023Liked by Stephen Gruppetta

In the context of bytecode optimizations in newer python versions, will a lambda be inlined or is it still a function call?

Expand full comment
author

Good question. I don't knowl I'll try to find out…

Expand full comment
Dec 1, 2023Liked by Stephen Gruppetta

https://github.com/brandtbucher/specialist may be of help investigating this

Expand full comment
author

Looks interesting. Will have a look!

Expand full comment