Comment on proportional reaction

<- View Parent
four@lemmy.zip ⁨1⁩ ⁨day⁩ ago

What I like about using if and else for that is that you’re already using those keywords for branching in other parts of the code.

Though my least favorite is probably Python’s:

x = "foo" if y > 5 else "bar"

It just seems backwards to me

source
Sort:hotnewtop