Comment on proportional reaction

<- View Parent
thebestaquaman@lemmy.world ⁨3⁩ ⁨days⁩ ago

If there’s more than two branches in the decision tree I’ll default to a if/else or switch/case except if I want to initialise a const to a conditional value, which is one of the places I praise the lord for ternaries.

source
Sort:hotnewtop