Comment on Real quick question about the "break"

<- View Parent
crashfrog@lemm.ee ⁨6⁩ ⁨months⁩ ago

What would be an example where you need different logic based on a number’s parity? Why wouldn’t you write logic that ignores the number’s parity?

Part of getting better as a programmer is realizing which stuff doesn’t matter, and writing less code, as a result.

source
Sort:hotnewtop