3 ms·
I only recommend that if the more explicit code is less idiomatic. For example, if someone appends to a list in a Python loop where a list comprehension would e
by kstrauser 2y ago
I only recommend that if the more explicit code is less idiomatic. For example, if someone appends to a list in a Python loop where a list comprehension would express the same thing plainly, I’ll suggest it. That’s it.
Otherwise, please optimize for writing stuff I can understand at 2AM when things have broken.