Comment

Comment by MathMonkeyMan

I'm not the author, but this implementation has the benefit of being a JSON compatible DSL that you can serialize. Maybe that's intentional, maybe not.

It does look like Python's comprehensions would be a better choice if you're writing them by hand anyway.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton