3 ms·
I much more frequently wish that I could express 'or do this if zero iterations' than I use for-else as it is; I do so wish it had the former semantic. That an
by OJFord 8y ago
I much more frequently wish that I could express 'or do this if zero iterations' than I use for-else as it is; I do so wish it had the former semantic.
That and the absence of do-while are the cause of a good deal of non-DRY python around loops.