3 ms·
These are also easier to read and write than the Python version, as you can just follow the dataflow from top to bottom (or left to right if it fits into a sing
by skitter 4y ago
These are also easier to read and write than the Python version, as you can just follow the dataflow from top to bottom (or left to right if it fits into a single line). In Python, your eyes have to jump around to find where to the next bit of processing happens, not just in comprehensions but also with map/filter/list/len and co which are freestanding functions for some reason.