3 ms·
Or-coalescing can work fine for things that can either be None or truthy, but Python (unlike, say, Ruby) has fairly expansive falsey values, which create lots o
by dragonwriter 4y ago
Or-coalescing can work fine for things that can either be None or truthy, but Python (unlike, say, Ruby) has fairly expansive falsey values, which create lots of places where None coalescing would work but or-coalescing doesn't.