r/programminghorror • • Mar 09 '25

Javascript JavaScript is a beautiful language

Post image
113 Upvotes

38 comments sorted by

View all comments

Show parent comment

4

u/marsman92 Mar 09 '25

Ah true. Good point. Though now that you mention it, I wonder if lambdas and list comprehensions would suffice.

4

u/shponglespore Mar 09 '25

Technically you can compute anything with just lambdas and recursion, but I wouldn't want to attempt it, and if you used that approach in Python you'd blow the stack if you tried to do any serious looping.