3 ms·
A simple example is that people who start with Python think the list comprehension with all the colons and negative numbers is actually good instead of a hindra
by Larrikin 1y ago
A simple example is that people who start with Python think the list comprehension with all the colons and negative numbers is actually good instead of a hindrance. Python relies on pandas, Polars, and Pyfunctional to prop up a bad language design choice.
- notpushkin 1y agoList comprehensions look like this: [f(x) for x in xs] I think you mean the slice syntax (`xs[5:7]`). I don’t see how this is a bad design choice, though.
- rienbdj 1y agoTake a look at F# for a superior list comprehension design.