3 ms·
Single one liners tend to be quite functional in style and can avoid a lot of side effects that you might get with a 20 liner in a function.
by collyw 4y ago
Single one liners tend to be quite functional in style and can avoid a lot of side effects that you might get with a 20 liner in a function.
- stirfish 4y agoThat's fine, you can do that. I was thinking more about, for example, nested list comprehensions squeezed onto one line.