2 ms·
> List comprehension syntax If I'm not mistaken Python was one of the first main-ish programming languages which made list comprehensions a thing, imo there's
by paganel 5y ago
> List comprehension syntax
If I'm not mistaken Python was one of the first main-ish programming languages which made list comprehensions a thing, imo there's nothing wrong with their syntax. kwargs are also pretty cool.
- epage 5y agoMy main problem with list comprehensions is that, compared to a chaining map and friends (Ruby, Rust), I have to rewrite my expression more often away from list comprehensions as my code evolves or when I need to debug it. So I start to feel like "whats the point?". (Python programmer for around 15 years)