Python: Overlooked core functionalities
I'm annoyed at the reason that any/all have to be on this list. If they (and map, filter, …) were methods, you could just write `foo.` and your IDE could show you what methods are available. Postfix would make things easier to read too:<p><pre><code>    bar.baz()\
       .filter(some_filter)\
       .map(some_op)\
       .min()\
       .foo()
</code></pre>
Data/control flows from top to bottom. One operation per line. But with freestanding functions:<p><pre><code>    min(map(some_op, filter(some_filter, bar.baz()))).foo()
</code></pre>
To follow the flow of data/control, you start in the middle, go right, then skip left to filter, read rightwards to see which filter, skip left to map, read rightwards to see what map, go left to min, then skip all the way to the right. Just splitting it into multiple lines doesn't help, you need to introduce intermediate variables (and make sure they don't clobber any existing ones) and repeat yourself whether they clarify things or not. The same issue exists for list/dict/set comprehensions.