MortySmith@programming.dev to Swift@programming.dev · 8 months agoIf you have more than 2 conditions, and do not want to recreate an element with if else statement, what do you do since ternary operations might get too confusing?programming.devexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkIf you have more than 2 conditions, and do not want to recreate an element with if else statement, what do you do since ternary operations might get too confusing?programming.devMortySmith@programming.dev to Swift@programming.dev · 8 months agomessage-square0fedilink