3 ms·
I've written a lot of Python too. When I need to span lines, usually there's an easy way to use parens to do blahblah = long().invocation_of.something(with
by jerf 14y ago
I've written a lot of Python too. When I need to span lines, usually there's an easy way to use parens to do
blahblah = long().invocation_of.something(with,
lots, of, parameters)
which is generally more idiomatic. (Of course one wishes to avoid long lines at all but that's not always possible.)
- alcuadrado 14y agoI found that parnes rule used as an awful hack a lot of times. I use it only when the parens are naturally placed, but there are people that just add two parens to avoid one backslash... completely insane!